From c2012257a7427da20e5898bf6038cf10b3ec3e89 Mon Sep 17 00:00:00 2001 From: "skuhne@chromium.org" Date: Mon, 16 Dec 2013 20:35:58 +0000 Subject: 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 --- ash/accessibility_delegate.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ash/accessibility_delegate.h') 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; -- cgit v1.1