summaryrefslogtreecommitdiffstats
path: root/ash/accessibility_delegate.h
diff options
context:
space:
mode:
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-16 20:35:58 +0000
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-16 20:35:58 +0000
commitc2012257a7427da20e5898bf6038cf10b3ec3e89 (patch)
tree7dea4436ec1c4cd06f39bfb9d5424213fecb075c /ash/accessibility_delegate.h
parentd28775d2e8c2538a0bbea0fcb6f341a8ae861026 (diff)
downloadchromium_src-c2012257a7427da20e5898bf6038cf10b3ec3e89.zip
chromium_src-c2012257a7427da20e5898bf6038cf10b3ec3e89.tar.gz
chromium_src-c2012257a7427da20e5898bf6038cf10b3ec3e89.tar.bz2
Getting rid of GetDefaultProfile & fixing multi user issues with accessibility
As discussed: I removed the occurances, switched the accessibility functionality with a user change and made sure that the accessibility menu is presented when at least one user has one accessibility feature turned on. Not done: - ChromeVox - this will most likely only partially work in multi user scenarios. It makes no sense to get this 80% working if we are in the midst of overhauling the use of ChromeVox. This needs to be re-visited once the changes are done. - BrailleDisplayAPI - Since this is coupled with ChromeVox I guess that this falls into the same problem. - MagnifierManager - A refactor should be done which merges this into the AccessibilityManager, but that would go beyond what we currently have to do. Besides I have found a comment which indicates that this might even be underway. BUG=322682 TEST=unit tests (and multi profile by visual tests) Review URL: https://codereview.chromium.org/102483006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accessibility_delegate.h')
-rw-r--r--ash/accessibility_delegate.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ash/accessibility_delegate.h b/ash/accessibility_delegate.h
index 0d47c38..a4ef7eb 100644
--- a/ash/accessibility_delegate.h
+++ b/ash/accessibility_delegate.h
@@ -63,9 +63,8 @@ class ASH_EXPORT AccessibilityDelegate {
// Returns if autoclick is enabled or not.
virtual bool IsAutoclickEnabled() const = 0;
- // Returns true if the user wants to show accesibility menu even when all the
- // accessibility features are disabled.
- virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0;
+ // Returns true when the accessibility menu should be shown.
+ virtual bool ShouldShowAccessibilityMenu() const = 0;
// Cancel all current and queued speech immediately.
virtual void SilenceSpokenFeedback() const = 0;