• Qiang(Joe) Xu's avatar
    Revert "mash: convert PlayEarcon/PlayShutdownSound through mojo call" · 51b77306
    Qiang(Joe) Xu authored
    This reverts commit 09d525a9.
    
    Reason for revert: revert for a clean revert of crrev.com/c/777780
    
    Original change's description:
    > mash: convert PlayEarcon/PlayShutdownSound through mojo call
    > 
    > changes:
    > - Remove PlayEarcon/PlayShutdownSound from ash::AccessibilityDelegate.
    >   Convert them calling into chrome through mojo call.
    > - PlayShutdownSound gets shutdown sound duration asynchronously from
    >   chrome in ash::AccessibilityController. Synchronize the real shutdown
    >   timer's beginning when getting shutdown sound duration.
    > 
    > TBR=xiyuan@chromium.org
    > 
    > work when SpokenFeedbackEnabled is moved to ash. And add several test
    > coverage.
    > 
    > Bug: 618070
    > Test: tested on device without --mash, it works fine. --mash should
    > Change-Id: I82b3ce684983e3de658e8d165f90a47cf754f4f6
    > Reviewed-on: https://chromium-review.googlesource.com/773629
    > Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
    > Reviewed-by: Qiang(Joe) Xu <warx@chromium.org>
    > Reviewed-by: James Cook <jamescook@chromium.org>
    > Reviewed-by: Tom Sepez <tsepez@chromium.org>
    > Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#520441}
    
    TBR=jamescook@chromium.org,xiyuan@chromium.org,dmazzoni@chromium.org,dtseng@chromium.org,tsepez@chromium.org,warx@chromium.org
    
    Change-Id: I3673182425fa0cb4702036d326b83a275415d5de
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 618070, 790750
    Reviewed-on: https://chromium-review.googlesource.com/802614Reviewed-by: default avatarQiang(Joe) Xu <warx@chromium.org>
    Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#520780}
    51b77306
accessibility_controller.h 3.63 KB