New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 594887 link

Starred by 10 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Team-Accessibility


Sign in to add a comment

mash: Move some of Chrome OS accessibility out of chrome/browser

Project Member Reported by dmazz...@chromium.org, Mar 15 2016

Issue description

This is relevant for mustash (mus + ash)

On https://codereview.chromium.org/1785833002/, we discussed moving some of the Chrome OS accessibility code out of chrome/browser.

I think there are a lot of different pieces to this, let's separate them:

1. Where should the Chrome OS accessibility preferences be defined? Options include:

chromeos/chromeos_pref_names.cc
chrome/common/pref_names.cc
ash/??? (where? i can't find any chromeos ui prefs in ash currently)

It does seem useful to put all of the accessibility preferences in one place, so wherever we choose should be somewhere that can be accessed from any module that may want to query or modify accessibility preferences.

2. Where should the simplest Chrome OS accessibility features like Large Cursor be implemented?

Right now the implementation is split across ash/ and chrome/browser/, but there's almost no point because the guts are in ash. For this particular feature at least, I don't see any reason to expose it in AccessibilityDelegate or put any of its code in chrome/browser, it could be entirely in ash/.

One open question: can ash/ access per-profile preferences? If not, could we easily abstract the feature that an accessibility preference set on the login screen gets "inherited" to a logged in profile?

3. Where should Chrome OS accessibility features that use some Chrome APIs, like Magnification, be implemented?

Magnification is split pretty evenly between ash/ and chrome/ - the ash/ part does the graphics transform work, but chrome/ is needed to monitor focus changes. The chrome/ part also monitors profile changes, but it's not entirely clear to me why. Interestingly, the code to monitor caret movement is entirely in ash/ already.

So at first glance it seems like we'd need:

* An interface to watch focus changes from ash/
* Possibly something to handle profile changes / pref syncing for accessibility features

4. Where should Chrome OS accessibility features that use extension APIs, like ChromeVox, be implemented?

Spoken Feedback (ChromeVox) is implemented as an extension. Some of the native code pieces required to turn on/off the Chrome OS feature include:

* Enabling and disabling the extension, and sending JavaScript to the extension
* Opening a native "panel" window for ChromeVox to display status messages and overlays, and closing it when the extension closes
* Intercepting and rewriting native events based on a private extension API (i.e. ChromeVox says it wants to start capturing keystrokes, then says it doesn't want to).

There are other accessibility features under development that will be built using extensions, so at a minimum enabling the accessibility feature will require enabling an extension.

Conclusions so far:

* It does seem like it would reduce some wasted code to move some accessibility features, like Large Cursor, out of chrome/ and into ash/ only, and others, like Magnification, mostly out of ash/ except for a new interface to allow it to listen to focus changes
* Several accessibility features depend on access to both ash/ and extensions/, plus other Chrome APIs, which seems to imply that chrome/ is the only place we could put them. Given that, is it worth making any changes at this point?

What changes would we need for Mustash?

Assigning to Oshima to respond, feel free to assign back to me with specific goals.

 
Components: Internals>MUS
Labels: Proj-Mustash
Labels: NewComponent-Accessibility NewComponent-Accessibility-ChromeVox
Components: UI>Accessibility>ChromeVox
Labels: -newcomponent-accessibility -newcomponent-accessibility-chromevox
Components: -UI>Accessibility
Cc: osh...@chromium.org
Owner: jamescook@chromium.org
Status: Started (was: Assigned)
I'm going to do a little work on this, starting with some prefs stuff.

Project Member

Comment 6 by bugdroid1@chromium.org, Aug 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/696fb106abb6b97cbada7b67b9bcebfaf5b0a293

commit 696fb106abb6b97cbada7b67b9bcebfaf5b0a293
Author: James Cook <jamescook@chromium.org>
Date: Thu Aug 17 21:50:44 2017

cros: Fix startup crash with chrome --mash

https://chromium-review.googlesource.com/c/615680 added calls to
ash::Shell::Get() from the browser process. I cannot revert that patch
because a large dependency CL has already landed. Just skip the calls
under mash, which is equivalent to the previous behavior.

TBR=dmazzoni@chromium.org

Bug: 594887
Test: manually start chrome --mash and login, chrome browser_tests AccessibilityManager*
Change-Id: I8d9f7e3e5bbfa642d66ad36280c4284a64d551d8
Reviewed-on: https://chromium-review.googlesource.com/619788
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#495332}
[modify] https://crrev.com/696fb106abb6b97cbada7b67b9bcebfaf5b0a293/chrome/browser/chromeos/accessibility/accessibility_manager.cc

Project Member

Comment 7 by bugdroid1@chromium.org, Aug 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/82a84e3797b39944d4485a756f20054dab716ac8

commit 82a84e3797b39944d4485a756f20054dab716ac8
Author: James Cook <jamescook@chromium.org>
Date: Thu Aug 17 22:06:08 2017

cros: Move accessibility pref names into ash

This eventually will allow code in //ash to monitor them directly,
instead of communicating back and forth with //chrome.

See go/mustash-tray-accessibility

TBR=pastarmovj@chromium.org

Bug: 594887,  618070 
Test: compiles, ash_unittests, browser_tests
Change-Id: I40f10186ed790afad698118bf879975111052ca8
Reviewed-on: https://chromium-review.googlesource.com/618083
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#495341}
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/ash/public/cpp/ash_pref_names.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/ash/public/cpp/ash_pref_names.h
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/accessibility/accessibility_util.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/accessibility/magnification_manager.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/extensions/info_private_api.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/extensions/info_private_apitest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/policy/recommendation_restorer.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/extensions/api/preference/preference_api.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/extensions/api/settings_private/prefs_util.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/extensions/component_loader_unittest.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/browser/policy/configuration_policy_handler_list_factory.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/common/pref_names.cc
[modify] https://crrev.com/82a84e3797b39944d4485a756f20054dab716ac8/chrome/common/pref_names.h

Project Member

Comment 8 by bugdroid1@chromium.org, Aug 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9c3967a5eaa464c3e9b3cef2404a64cebc867341

commit 9c3967a5eaa464c3e9b3cef2404a64cebc867341
Author: James Cook <jamescook@chromium.org>
Date: Thu Aug 17 22:57:20 2017

Revert "cros: Move accessibility pref names into ash"

This reverts commit 82a84e3797b39944d4485a756f20054dab716ac8.

Reason for revert:
build failure on the Ozone Linux bot:
https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.fyi%2FOzone_Linux%2F19031%2F%2B%2Frecipes%2Fsteps%2Fgenerate_build_files%2F0%2Fstdout

Original change's description:
> cros: Move accessibility pref names into ash
> 
> This eventually will allow code in //ash to monitor them directly,
> instead of communicating back and forth with //chrome.
> 
> See go/mustash-tray-accessibility
> 
> TBR=pastarmovj@chromium.org
> 
> Bug: 594887,  618070 
> Test: compiles, ash_unittests, browser_tests
> Change-Id: I40f10186ed790afad698118bf879975111052ca8
> Reviewed-on: https://chromium-review.googlesource.com/618083
> Reviewed-by: James Cook <jamescook@chromium.org>
> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
> Reviewed-by: Ken Rockot <rockot@chromium.org>
> Commit-Queue: James Cook <jamescook@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#495341}

TBR=jamescook@chromium.org,pastarmovj@chromium.org,dmazzoni@chromium.org,rockot@chromium.org

Change-Id: Ie7f6d29a6600f4211ec87bb270faee5cc9de490b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 594887,  618070 
Reviewed-on: https://chromium-review.googlesource.com/619628
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#495364}
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/ash/public/cpp/ash_pref_names.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/ash/public/cpp/ash_pref_names.h
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/accessibility/accessibility_util.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/accessibility/magnification_manager.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/extensions/info_private_api.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/extensions/info_private_apitest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/policy/recommendation_restorer.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/extensions/api/preference/preference_api.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/extensions/api/settings_private/prefs_util.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/extensions/component_loader_unittest.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/browser/policy/configuration_policy_handler_list_factory.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/common/pref_names.cc
[modify] https://crrev.com/9c3967a5eaa464c3e9b3cef2404a64cebc867341/chrome/common/pref_names.h

Project Member

Comment 9 by bugdroid1@chromium.org, Aug 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c63b9fdd07e09bca185851e72092b4c4cddee45f

commit c63b9fdd07e09bca185851e72092b4c4cddee45f
Author: James Cook <jamescook@chromium.org>
Date: Fri Aug 18 18:48:32 2017

Reland: cros: Move accessibility pref names into ash

Reland of https://chromium-review.googlesource.com/c/618083 which broke
gn check on the Linux Ozone FYI bot.

This eventually will allow code in //ash to monitor them directly,
instead of communicating back and forth with //chrome.

See go/mustash-tray-accessibility

TBR=pastarmovj@chromium.org

Bug: 594887,  618070 
Test: compiles, ash_unittests, browser_tests
Change-Id: I35c6770a1969178fbb43a97716da15e80aed99d6
Reviewed-on: https://chromium-review.googlesource.com/618083
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#495341}
Reviewed-on: https://chromium-review.googlesource.com/621447
Cr-Commit-Position: refs/heads/master@{#495630}
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/ash/public/cpp/ash_pref_names.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/ash/public/cpp/ash_pref_names.h
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/accessibility/accessibility_util.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/accessibility/magnification_manager.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/extensions/info_private_api.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/extensions/info_private_apitest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_unittest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/policy/recommendation_restorer.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/extensions/api/preference/preference_api.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/extensions/api/settings_private/prefs_util.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/extensions/component_loader_unittest.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/browser/policy/configuration_policy_handler_list_factory.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/common/pref_names.cc
[modify] https://crrev.com/c63b9fdd07e09bca185851e72092b4c4cddee45f/chrome/common/pref_names.h

Project Member

Comment 10 by bugdroid1@chromium.org, Aug 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/db81c76776ab1e1d259d8f95f43121c69a88a30a

commit db81c76776ab1e1d259d8f95f43121c69a88a30a
Author: James Cook <jamescook@chromium.org>
Date: Wed Aug 30 15:18:24 2017

cros: Remove unused a11y partial screen magnifier code

The partial screen ("lens") magnifier accessibility feature was
deprioritized in 2013 and never shipped. Removing the code eliminates
ash-to-chrome delegate methods, which we need to do for go/mustash.

Bug: 170850, 594887
Test: ash_unittests, chrome browser_tests
Change-Id: I258761fbecedc5d6ebfe888e08a19756a2371566
Reviewed-on: https://chromium-review.googlesource.com/636347
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498468}
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/ash/accessibility_delegate.h
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/ash/accessibility_types.h
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/ash/default_accessibility_delegate.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/ash/default_accessibility_delegate.h
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/ash/public/cpp/ash_pref_names.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/accessibility/magnification_manager.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/accessibility/magnification_manager.h
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/accessibility/magnification_manager_unittest.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/policy/policy_browsertest.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/ui/ash/ash_init.cc
[modify] https://crrev.com/db81c76776ab1e1d259d8f95f43121c69a88a30a/chrome/browser/ui/ash/chrome_shell_delegate.cc

Project Member

Comment 11 by bugdroid1@chromium.org, Sep 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ec14495df0f7ac39713e365138878ea462d2dbe7

commit ec14495df0f7ac39713e365138878ea462d2dbe7
Author: James Cook <jamescook@chromium.org>
Date: Fri Sep 01 00:05:16 2017

cros: Use prefs to communicate a11y large cursor state to ash

For go/mustash we need to eliminate in-process delegate calls from ash
back into chrome. This CL eliminates 2 AccessibilityDelegate methods.

* Connect to the signin screen profile pref service from ash
* Track the large cursor pref as a "foreign pref" from ash because chrome
has code that requires the pref to be registered at startup time
* Use pref changes to update the system tray menu
* Fix ash pref registration so that code using foreign prefs can be
unit tested more easily

TODO: Move the code that sets the cursor state out of chrome into ash

Bug: 594887,  760406 ,  761123 
Test: ash_unittests, chrome browser_tests
Change-Id: I8a4ebe5c65d815b20d8f4d014aa2d2dc7bdf8d62
Reviewed-on: https://chromium-review.googlesource.com/634329
Commit-Queue: James Cook <jamescook@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499078}
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/BUILD.gn
[add] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/accessibility/accessibility_controller.cc
[add] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/accessibility/accessibility_controller.h
[add] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/accessibility_delegate.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/default_accessibility_delegate.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/default_accessibility_delegate.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/public/interfaces/pref_connector.mojom
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/session/session_controller.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/session/session_controller.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/session/session_controller_unittest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/session/test_session_controller_client.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/shell.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/shell.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/system/tray_accessibility.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/system/tray_accessibility.h
[add] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/system/tray_accessibility_unittest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/system/tray_caps_lock.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/system/tray_caps_lock.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/ash/system/tray_caps_lock_unittest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/login/enrollment/enrollment_screen_browsertest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/policy/recommendation_restorer.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/prefs/pref_connector_service.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/prefs/pref_connector_service.h
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/ec14495df0f7ac39713e365138878ea462d2dbe7/components/prefs/overlay_user_pref_store.cc

Project Member

Comment 12 by bugdroid1@chromium.org, Sep 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5

commit 9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5
Author: James Cook <jamescook@chromium.org>
Date: Fri Sep 01 00:39:29 2017

cros: Make a11y large cursor work under mash

* Move large cursor code into ash
* Move prefs required to decide whether to use native vs. software cursor
into ash
* Use ShellPort to set the cursor size, which has support for both
classic ash and mash

Bug: 594887
Test: new ash_unittests, existing browser_tests AccessibilityManager*
Change-Id: If3e71952054e2c5d2feb5fef1a5694356bf65181
Reviewed-on: https://chromium-review.googlesource.com/646528
Commit-Queue: James Cook <jamescook@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499082}
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/chrome/browser/chromeos/accessibility/magnification_manager.cc
[modify] https://crrev.com/9f9ff79d3c7654e7f2c788e2bc1ceaf0703d10c5/chrome/browser/chromeos/preferences.cc

Project Member

Comment 13 by bugdroid1@chromium.org, Sep 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5fbdccb623920679ea5f58fe9e9e6784861e8e26

commit 5fbdccb623920679ea5f58fe9e9e6784861e8e26
Author: James Cook <jamescook@chromium.org>
Date: Fri Sep 01 21:17:55 2017

cros: Support a11y high contrast feature under mash

For go/mustash we need to eliminate in-process ash-to-chrome delegates.
Move high contrast handling out of chrome's AccessibilityManager into
ash's AccessibilityController. This allows you to toggle the feature
both in settings and via the system tray menu under mash.

Bug: 594887
Test: ash_unittests, chrome browser_tests
Change-Id: I3b7711245d13050e1dc80d02bada1ec85edf1cc9
Reviewed-on: https://chromium-review.googlesource.com/647997
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499299}
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/accelerators/accelerator_controller.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/accessibility_delegate.h
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/default_accessibility_delegate.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/default_accessibility_delegate.h
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/high_contrast/high_contrast_controller.h
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/mus/BUILD.gn
[delete] https://crrev.com/aef4a308e4c9a9f783519bb34e9ae09bd983c01c/ash/mus/accessibility_delegate_mus.cc
[delete] https://crrev.com/aef4a308e4c9a9f783519bb34e9ae09bd983c01c/ash/mus/accessibility_delegate_mus.h
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/mus/shell_delegate_mus.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/shell.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/ash/system/tray_accessibility.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/5fbdccb623920679ea5f58fe9e9e6784861e8e26/chrome/browser/ui/ash/chrome_shell_delegate.cc

Cc: zork@chromium.org
Owner: dmazz...@chromium.org
Status: Assigned (was: Started)
dmazzoni, do you have cycles to work on this? Or know someone who might?

The CLs above should provide examples of how to move things out of chrome. go/mustash-tray-accessibility has some discussion. I think the screen magnifier might be a logical next step, just because it's the last pref needed for ash to decide if it should enable software cursor compositing.

I'm going to take a look at moving the "focus ring" code out of chrome into ash. Lemme know if that's a bad idea.

I'm assuming there will still need to be some code on the Chrome side to track certain focus changes, like within web content. But keeping the main controller in ash should work fine.


Owner: jamescook@chromium.org
Project Member

Comment 18 by bugdroid1@chromium.org, Sep 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/108e6128b05592137429a5a84548167d9477d9a9

commit 108e6128b05592137429a5a84548167d9477d9a9
Author: James Cook <jamescook@chromium.org>
Date: Wed Sep 20 19:04:29 2017

cros: Migrate a11y cursor and focus ring code into ash

For go/mustash chrome browser code cannot call directly into ash. The
implementations of these visual effects have no chrome dependencies and
a few ash dependencies, so move them into ash.

Split the AccessibilityFocusRingController tests into a unit test (in
ash) and an integration test (in chrome).

Remove ash::AccessibilityDelegate::ClearFocusHighlight() as it isn't
needed anymore.

This CL mostly just moves files. It does not introduce the mojo
interfaces needed to make these features actually work with mash.

Bug: 594887
Test: ash_unittests, interactive_ui_tests
Change-Id: I7852f494467b77ab6f06658347a88b82a8b596c5
Reviewed-on: https://chromium-review.googlesource.com/671540
Commit-Queue: James Cook <jamescook@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503222}
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/BUILD.gn
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_cursor_ring_layer.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_cursor_ring_layer.h
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring.h
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring_controller.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring_controller.h
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring_controller_unittest.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring_layer.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/accessibility_focus_ring_layer.h
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/focus_ring_controller.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/focus_ring_controller.h
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/focus_ring_layer.cc
[rename] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility/focus_ring_layer.h
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/accessibility_delegate.h
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/ash_touch_exploration_manager_chromeos.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/default_accessibility_delegate.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/ash/default_accessibility_delegate.h
[add] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/accessibility/DEPS
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/accessibility/accessibility_extension_api.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/chromeos/BUILD.gn
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/chromeos/login/ui/login_display_host_impl.h
[modify] https://crrev.com/108e6128b05592137429a5a84548167d9477d9a9/chrome/browser/ui/ash/chrome_shell_delegate.cc

Comment 19 by warx@chromium.org, Nov 14 2017

Cc: jamescook@chromium.org
Owner: warx@chromium.org
Pair this issue with  issue 618070 
Project Member

Comment 20 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9

commit 1ee9802e8b90cc48d347f863e276fdcba7f8c0a9
Author: Qiang Xu <warx@chromium.org>
Date: Tue Nov 21 19:52:55 2017

mash: promote Is{Set}MonoAudioEnabled to ash

changes:
- Move Is{Set}MonoAudioEnabled code to ash, the mono audio pref
  prefs::kAccessibilityMonoAudioEnabled is already moved to ash.
- Remove audio_a11y_controller proxy, using CrasAudioHandler instance
  directly.

Bug: 594887
Test: tested on device with/without --mash, the feature is working fine
Change-Id: Ie1803f9e6a783b7bbd76305d91c5f81dcf83f916
Reviewed-on: https://chromium-review.googlesource.com/768338
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518341}
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/shell.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/shell.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/ash/system/tray_accessibility.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chromeos/BUILD.gn
[delete] https://crrev.com/9290bf35dba2ccefaca6e4dd5c9def7a22256365/chromeos/audio/audio_a11y_controller.cc
[delete] https://crrev.com/9290bf35dba2ccefaca6e4dd5c9def7a22256365/chromeos/audio/audio_a11y_controller.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chromeos/audio/cras_audio_handler.cc
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chromeos/audio/cras_audio_handler.h
[modify] https://crrev.com/1ee9802e8b90cc48d347f863e276fdcba7f8c0a9/chromeos/audio/cras_audio_handler_unittest.cc

Comment 21 by warx@chromium.org, Nov 28 2017

Blockedon: 789285
Project Member

Comment 22 by bugdroid1@chromium.org, Nov 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca

commit 6edaf9cba06e729ba295cfe3866c5b05dc18c4ca
Author: Qiang Xu <warx@chromium.org>
Date: Tue Nov 28 23:31:36 2017

mash: make ash learn/control SpokenFeedbackEnabled

changes:
- Move Is{Toggle}SpokenFeedbackEnabled code to ash, which used to be
  AccessibilityDelegate and called into chrome. This won't work in
  mustash world. This change breaks the delegate way, by having prefs
  in ash, the Is{Set} could be done in ash.
- Change ToggleSpokenFeedbackEnabled to SetSpokenFeedbackEnabled to
  align with other method names.

feedback enabled update the tray icon visibility. This is one step
forward.

Bug: 594887
Test: tested on emulator with --mash. Could see toggling spoken
Change-Id: I3a9c4277f6d1e8bfb2b03777011f6f2f9055d296
Reviewed-on: https://chromium-review.googlesource.com/777780
Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519898}
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accelerators/accelerator_controller.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accelerators/accelerator_controller_unittest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accelerators/spoken_feedback_toggler.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accelerators/spoken_feedback_toggler_unittest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/ash_touch_exploration_manager_chromeos.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/system/ime_menu/ime_menu_tray.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/system/palette/palette_tray.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/system/tray/system_tray.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/system/tray_accessibility.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/system/tray_accessibility_unittest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/system/web_notification/web_notification_tray.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/wm/workspace/backdrop_controller.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/ash/wm/workspace/workspace_layout_manager_unittest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/6edaf9cba06e729ba295cfe3866c5b05dc18c4ca/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc

Project Member

Comment 23 by bugdroid1@chromium.org, Dec 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a0f6445956b48a297a938753cc65bbc79f16800a

commit a0f6445956b48a297a938753cc65bbc79f16800a
Author: Qiang(Joe) Xu <warx@chromium.org>
Date: Fri Dec 01 02:16:50 2017

Revert "mash: make ash learn/control SpokenFeedbackEnabled"

This reverts commit 6edaf9cba06e729ba295cfe3866c5b05dc18c4ca.

Reason for revert: revert for  crbug.com/790750 

Original change's description:
> mash: make ash learn/control SpokenFeedbackEnabled
> 
> changes:
> - Move Is{Toggle}SpokenFeedbackEnabled code to ash, which used to be
>   AccessibilityDelegate and called into chrome. This won't work in
>   mustash world. This change breaks the delegate way, by having prefs
>   in ash, the Is{Set} could be done in ash.
> - Change ToggleSpokenFeedbackEnabled to SetSpokenFeedbackEnabled to
>   align with other method names.
> 
> feedback enabled update the tray icon visibility. This is one step
> forward.
> 
> Bug: 594887
> Test: tested on emulator with --mash. Could see toggling spoken
> Change-Id: I3a9c4277f6d1e8bfb2b03777011f6f2f9055d296
> Reviewed-on: https://chromium-review.googlesource.com/777780
> Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
> Reviewed-by: James Cook <jamescook@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#519898}

TBR=jamescook@chromium.org,xiyuan@chromium.org,warx@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 594887,  790750 
Change-Id: I29bb0871036990b8e72ff22897575825d3e1674d
Reviewed-on: https://chromium-review.googlesource.com/802615
Reviewed-by: Qiang(Joe) Xu <warx@chromium.org>
Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520804}
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accelerators/accelerator_controller.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accelerators/accelerator_controller_unittest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accelerators/spoken_feedback_toggler.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accelerators/spoken_feedback_toggler_unittest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/ash_touch_exploration_manager_chromeos.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/system/ime_menu/ime_menu_tray.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/system/palette/palette_tray.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/system/tray/system_tray.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/system/tray_accessibility.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/system/tray_accessibility_unittest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/system/web_notification/web_notification_tray.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/wm/workspace/backdrop_controller.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/ash/wm/workspace/workspace_layout_manager_unittest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/a0f6445956b48a297a938753cc65bbc79f16800a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc

Project Member

Comment 24 by bugdroid1@chromium.org, Jan 9 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d0f3be2e5f35cede39b2c923dc28e00a2fae693c

commit d0f3be2e5f35cede39b2c923dc28e00a2fae693c
Author: Qiang Xu <warx@chromium.org>
Date: Tue Jan 09 02:26:35 2018

mash: move Is{Set}AutoclickEnabled to ash

changes:
Move Is{Set}AutoclickEnabled code to ash, due to the direct prefs
control in ash. This will eliminate the corresponding methods in
AccessibilityDelegate.

Bug: 594887
Test: test that autoclick feature still works and tray menu is updated
Change-Id: I8b2bcc46ce76ca26304fa8b4886e73832aac081a
Reviewed-on: https://chromium-review.googlesource.com/853576
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#527871}
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/ash/system/tray_accessibility.cc
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/d0f3be2e5f35cede39b2c923dc28e00a2fae693c/chrome/browser/ui/ash/chrome_shell_delegate.cc

Comment 25 by warx@chromium.org, Jan 9 2018

Blockedon: 800270
Project Member

Comment 26 by bugdroid1@chromium.org, Jan 12 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5

commit 8889e37cb3a3d6acb7af661ffd3980b5c121f3a5
Author: Qiang Xu <warx@chromium.org>
Date: Fri Jan 12 02:04:42 2018

reland: mash: make ash learn/control SpokenFeedbackEnabled

changes:
- Move Is{Toggle}SpokenFeedbackEnabled code to ash, which used to be
  AccessibilityDelegate and called into chrome. This won't work in
  mustash world. This change breaks the delegate way, by having prefs
  in ash, the Is{Set} could be done in ash.
- Explicitly call OnSpokenFeedbackChanged() on chrome side when prefs
  is registered.
- Change ToggleSpokenFeedbackEnabled to SetSpokenFeedbackEnabled to
  align with other method names.

TBR=xiyuan@chromium.org

and re-logged-in.

Bug: 594887
Test: tested on emulator with --mash, feature works fine on signing out
Change-Id: I09d83e93784924ff84f2d1a9ad0b16e2a41418d8
Reviewed-on: https://chromium-review.googlesource.com/817659
Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
Reviewed-by: Qiang(Joe) Xu <warx@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#528848}
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accelerators/accelerator_controller.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accelerators/accelerator_controller_unittest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accelerators/spoken_feedback_toggler.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accelerators/spoken_feedback_toggler_unittest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/ash_touch_exploration_manager_chromeos.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/system/ime_menu/ime_menu_tray.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/system/palette/palette_tray.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/system/tray/system_tray.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/system/tray_accessibility.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/system/tray_accessibility_unittest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/system/web_notification/web_notification_tray.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/wm/workspace/backdrop_controller.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/ash/wm/workspace/workspace_layout_manager_unittest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/chromeos/accessibility/touch_exploration_controller_browsertest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/8889e37cb3a3d6acb7af661ffd3980b5c121f3a5/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc

Project Member

Comment 27 by bugdroid1@chromium.org, Jan 21 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/797a8e77634039750278443a9b39e669dc615e13

commit 797a8e77634039750278443a9b39e669dc615e13
Author: Qiang Xu <warx@chromium.org>
Date: Sun Jan 21 11:19:08 2018

mash: move notification of braille display to ash

changes:
- OnBrailleDisplayStateChanged may set spoken feedback enabled, and also
  trigger showing notification. Move this part of code to ash.
- Move TrayAccessibilityTest.ShowNotification test from browser test
  to ash test.

Bug: 594887
Test: Tested on device connects/disconnects braille display.
Change-Id: I2c34c5fe33614b9e1617664661f38fc29820e750
Reviewed-on: https://chromium-review.googlesource.com/875206
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Qiang(Joe) Xu <warx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530779}
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/public/interfaces/accessibility_controller.mojom
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/system/tray_accessibility.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/ash/system/tray_accessibility_unittest.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/chrome/browser/ui/ash/accessibility/accessibility_controller_client_unittest.cc
[modify] https://crrev.com/797a8e77634039750278443a9b39e669dc615e13/chrome/browser/ui/ash/chrome_shell_delegate.cc

Project Member

Comment 28 by bugdroid1@chromium.org, Feb 8 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/87cbcca01955e17c11db1fa8b3c80fb979a3abaf

commit 87cbcca01955e17c11db1fa8b3c80fb979a3abaf
Author: Qiang Xu <warx@google.com>
Date: Thu Feb 08 02:39:58 2018

mash: move UpdateAutoclickDelayFromPref to ash

Changes:
Move UpdateAutoclickDelayFromPref handling to ash. This helps remove
ash::AutoclickController access from chrome/.

Bug: 594887
Test: device test, autoclick delay could be handled by Webui setting.
Change-Id: Iff96d5d35a17059b1ae1b33a88d2b0c24f1c25af
Reviewed-on: https://chromium-review.googlesource.com/857363
Commit-Queue: Qiang Xu <warx@google.com>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535275}
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/ash/BUILD.gn
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/chrome/browser/chromeos/BUILD.gn
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc
[modify] https://crrev.com/87cbcca01955e17c11db1fa8b3c80fb979a3abaf/chrome/browser/chromeos/preferences.cc

Project Member

Comment 29 by bugdroid1@chromium.org, Feb 16 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e

commit 67fbc7a49558f6fffe25fd8af7831ae4cdf4984e
Author: Qiang Xu <warx@google.com>
Date: Fri Feb 16 02:52:41 2018

mash: move Virtual keyboard and Sticky keys control to ash

changes:
This CL includes Is{Set}VirtualKeyboardEnabled and
Is{Set}StickKeysEnabled.

Bug: 594887
Test: device test, observing tray accessibility updates.
Change-Id: I6a790bd883969e0c457361ab29260210fb4db43a
Reviewed-on: https://chromium-review.googlesource.com/912514
Commit-Queue: Qiang Xu <warx@google.com>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537147}
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/keyboard/keyboard_ui.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/sticky_keys/sticky_keys_controller.h
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/system/ime/tray_ime_chromeos.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/system/ime/tray_ime_chromeos_unittest.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/system/ime_menu/ime_menu_tray.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/system/ime_menu/ime_menu_tray_unittest.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/system/tray/system_tray_unittest.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/ash/system/tray_accessibility.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/67fbc7a49558f6fffe25fd8af7831ae4cdf4984e/chrome/browser/ui/ash/chrome_shell_delegate.cc

Project Member

Comment 30 by bugdroid1@chromium.org, Feb 17 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/95eea5749a9948c55a46aad20b5d1e7dcc112de2

commit 95eea5749a9948c55a46aad20b5d1e7dcc112de2
Author: Qiang Xu <warx@google.com>
Date: Sat Feb 17 08:10:31 2018

mash: move a11y highlight controls to ash

changes:
- Move major logic of chromeos::AccessibilityHighlightManager to ash.
- Move caret, cursor, focus highlight controls to ash.

On --mash, focus highlight feature works. Caret and cursor highlight
relies on mash's global cursor manager.

Bug: 594887
Test: ash_unittests and emulator tests.
Change-Id: Ib95f3f6b8c3bed40199247bda68cbdb384a1b964
Reviewed-on: https://chromium-review.googlesource.com/923707
Commit-Queue: Qiang Xu <warx@google.com>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537542}
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/BUILD.gn
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_delegate.h
[add] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_highlight_controller.cc
[add] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_highlight_controller.h
[add] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/accessibility_highlight_controller_unittest.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/public/interfaces/accessibility_controller.mojom
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/ash/system/tray_accessibility.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/browser/chromeos/BUILD.gn
[delete] https://crrev.com/4f6d2b810f92c6e8308cb6d94ff092d76cd43aa8/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc
[delete] https://crrev.com/4f6d2b810f92c6e8308cb6d94ff092d76cd43aa8/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
[delete] https://crrev.com/4f6d2b810f92c6e8308cb6d94ff092d76cd43aa8/chrome/browser/chromeos/accessibility/accessibility_highlight_manager_interactive_uitest.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/browser/ui/ash/accessibility/accessibility_controller_client_unittest.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/chrome/test/BUILD.gn
[modify] https://crrev.com/95eea5749a9948c55a46aad20b5d1e7dcc112de2/testing/buildbot/filters/ash_unittests_mash.filter

Components: -Internals>MUS Internals>Services>WindowService
Components: -MUS
Project Member

Comment 33 by bugdroid1@chromium.org, Mar 6 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978

commit 7e7dd6b954c9df8f36f28133d43b2bc98a1c7978
Author: Qiang Xu <warx@google.com>
Date: Tue Mar 06 05:27:51 2018

mash: move tap dragging pref to ash

Move prefs::kTapDraggingEnabled pref to ash, with ownership still in
chrome. This helps eliminating two ash::AccessibilityDelegate methods.

TBR=michaelpg@chromium.org

Bug: 594887
Change-Id: I9e91546431d9f3029d8a819e710d0303098faa62
Reviewed-on: https://chromium-review.googlesource.com/942686
Commit-Queue: Qiang Xu <warx@google.com>
Reviewed-by: Qiang Xu <warx@google.com>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Michael Giuffrida <michaelpg@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541044}
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/accessibility/accessibility_controller.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/accessibility/accessibility_controller.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/accessibility/accessibility_controller_unittest.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/accessibility/accessibility_delegate.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/accessibility/default_accessibility_delegate.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/accessibility/default_accessibility_delegate.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/public/cpp/ash_pref_names.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/public/cpp/ash_pref_names.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/shell.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/system/tray_accessibility.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/touch/touch_devices_controller.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/touch/touch_devices_controller.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/ash/touch/touch_devices_controller_unittest.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/chromeos/preferences.h
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/chromeos/preferences_chromeos_browsertest.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/extensions/api/settings_private/prefs_util.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/browser/ui/ash/chrome_shell_delegate.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/common/pref_names.cc
[modify] https://crrev.com/7e7dd6b954c9df8f36f28133d43b2bc98a1c7978/chrome/common/pref_names.h

Cc: jonr...@chromium.org nick@chromium.org
 Issue 557401  has been merged into this issue.
Blockedon: 628655 628657 628663 628665 626439 629095
Summary: mash: Move some of Chrome OS accessibility out of chrome/browser (was: Move some of Chrome OS accessibility out of chrome/browser)
Making this the master bug, since it has better details.
Blockedon: 821551
Blockedon: 814481
Project Member

Comment 38 by bugdroid1@chromium.org, Mar 15 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/56a75817443d6f35044ec7eb86e75ad4637b9205

commit 56a75817443d6f35044ec7eb86e75ad4637b9205
Author: Qiang Xu <warx@google.com>
Date: Thu Mar 15 00:28:34 2018

mash: create AccessibilityFocusRingController mojo interface

changes:
Declare methods in AccessibilityFocusRingController that chrome needs
in mojo interface.

Bug: 594887
Change-Id: I5d8b47eb91301e848e2a2d3d13ad60b946db8a65
Reviewed-on: https://chromium-review.googlesource.com/957524
Commit-Queue: Qiang Xu <warx@google.com>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543254}
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/accessibility/accessibility_focus_ring_controller.cc
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/accessibility/accessibility_focus_ring_controller.h
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/accessibility/accessibility_highlight_controller.cc
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/accessibility/touch_exploration_manager.cc
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/manifest.json
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/mojo_interface_factory.cc
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/public/interfaces/BUILD.gn
[add] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/ash/public/interfaces/accessibility_focus_ring_controller.mojom
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/chrome/browser/accessibility/accessibility_extension_api.cc
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/chrome/browser/chromeos/accessibility/accessibility_manager.cc
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/chrome/browser/chromeos/accessibility/accessibility_manager.h
[modify] https://crrev.com/56a75817443d6f35044ec7eb86e75ad4637b9205/chrome/browser/chromeos/accessibility/select_to_speak_browsertest.cc

Project Member

Comment 39 by bugdroid1@chromium.org, Mar 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c179c8846a36a98bb29151824a84daff1bace454

commit c179c8846a36a98bb29151824a84daff1bace454
Author: Qiang Xu <warx@google.com>
Date: Mon Mar 26 18:14:31 2018

cros: move TrayAccessibilityLoginScreenTest.* to ash

Chanes:
The entire tray_accessibility_browsertest.cc should be moved to ash/.
This CL is one step closer.

Bug: 594887
Test: trybot tests
Change-Id: I503065ce0f371260272b7da44541a83a8a89bdeb
Reviewed-on: https://chromium-review.googlesource.com/979705
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Qiang Xu <warx@google.com>
Cr-Commit-Position: refs/heads/master@{#545841}
[modify] https://crrev.com/c179c8846a36a98bb29151824a84daff1bace454/ash/system/tray_accessibility.h
[modify] https://crrev.com/c179c8846a36a98bb29151824a84daff1bace454/ash/system/tray_accessibility_unittest.cc
[modify] https://crrev.com/c179c8846a36a98bb29151824a84daff1bace454/chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
[modify] https://crrev.com/c179c8846a36a98bb29151824a84daff1bace454/testing/buildbot/filters/mash.browser_tests.filter

Blockedon: 678820
Blockedon: 756054
Blockedon: 826529
Blocking: 850014

Comment 44 by warx@chromium.org, Jun 29 2018

Owner: ----
Status: Available (was: Assigned)
Labels: MagnifierCrOS
Labels: -Proj-Mustash Proj-Mash
Labels: -Proj-Mash Proj-Mash-MultiProcess
Blockedon: 888145
Project Member

Comment 49 by bugdroid1@chromium.org, Sep 28

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c87154d98949dc8bc05f478c32c668f25be56d5f

commit c87154d98949dc8bc05f478c32c668f25be56d5f
Author: David Tseng <dtseng@chromium.org>
Date: Fri Sep 28 22:46:12 2018

Make AccessibilityPrivateSendSyntheticKeyEventFunction mash compatible

- reuse ws::mojom::EventInjector
- follow up change will add a binding to chrome.accessibilityPrivate to send a synthesized mouse event (required for ChromeVox + VK support)
- removed last bits of ash deps from the file

Bug: 594887
Test: chromevox_tests (which makes extensive use of the chrome.accessibilityPrivate apis to send synthetic key events).
Change-Id: I1d4ce0703af526a747dd3b9db4422acb6b302307
Reviewed-on: https://chromium-review.googlesource.com/1250126
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595239}
[delete] https://crrev.com/b469a6e8b042ebeb028c7f601f7c98990981b9a7/chrome/browser/accessibility/DEPS
[modify] https://crrev.com/c87154d98949dc8bc05f478c32c668f25be56d5f/chrome/browser/accessibility/accessibility_extension_api.cc

There are two tests disabled for SingleProcessMash referencing this issue:

# Timeouts. https://crbug.com/594887
-ChromeVoxPanelTest.ActivateMenu
-ChromeVoxPanelTest.LinkMenu


Those tests are flaky even without SingleProcessMash, see issue 795840 and issue 751046. I'll update the filter file, since those issues have more information about the issue.

Sign in to add a comment