summaryrefslogtreecommitdiffstats
path: root/ash/shell/shell_delegate_impl.h
diff options
context:
space:
mode:
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-29 14:30:12 +0000
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-29 14:30:12 +0000
commitdb63363fc9fedd78e24df0d2db98d5afb5174e7b (patch)
tree05914ec57d83bf9c4bfbdd9944f17f36d7f00698 /ash/shell/shell_delegate_impl.h
parent95b42e2745a2380a16112a059bd0e842d81f0c0a (diff)
downloadchromium_src-db63363fc9fedd78e24df0d2db98d5afb5174e7b.zip
chromium_src-db63363fc9fedd78e24df0d2db98d5afb5174e7b.tar.gz
chromium_src-db63363fc9fedd78e24df0d2db98d5afb5174e7b.tar.bz2
A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray.
This patch add a sub-menu to set accessibility feature (spoken feedback, high-contrast and screen magnifier) under accessibility menu. The design is at http://crbug.com/158281. BUG=160689, 158307 TEST=manual TBR=nkostylev@chromium.org, jhawkins@chromium.org # TBRing for just rename changes. Review URL: https://codereview.chromium.org/11415025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/shell_delegate_impl.h')
-rw-r--r--ash/shell/shell_delegate_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/shell/shell_delegate_impl.h b/ash/shell/shell_delegate_impl.h
index 91f413ec..555e87f 100644
--- a/ash/shell/shell_delegate_impl.h
+++ b/ash/shell/shell_delegate_impl.h
@@ -43,6 +43,11 @@ class ShellDelegateImpl : public ash::ShellDelegate {
virtual content::BrowserContext* GetCurrentBrowserContext() OVERRIDE;
virtual void ToggleSpokenFeedback() OVERRIDE;
virtual bool IsSpokenFeedbackEnabled() const OVERRIDE;
+ virtual void ToggleHighContrast() OVERRIDE;
+ virtual bool IsHighContrastEnabled() const OVERRIDE;
+ virtual void SetMagnifier(MagnifierType type) OVERRIDE;
+ virtual MagnifierType GetMagnifierType() const OVERRIDE;
+ virtual bool ShouldAlwaysShowAccessibilityMenu() const OVERRIDE;
virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
virtual ash::LauncherDelegate* CreateLauncherDelegate(
ash::LauncherModel* model) OVERRIDE;
@@ -72,6 +77,8 @@ class ShellDelegateImpl : public ash::ShellDelegate {
bool locked_;
bool spoken_feedback_enabled_;
+ bool high_contrast_enabled_;
+ MagnifierType screen_magnifier_type_;
DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
};