Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2396)

Unified Diff: ash/shell/shell_delegate_impl.h

Issue 11415025: A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/shell/shell_delegate_impl.h
diff --git a/ash/shell/shell_delegate_impl.h b/ash/shell/shell_delegate_impl.h
index 6f55237520b68f3d075262e805daf56610d25368..7b61d08cec7f22af6daaf44295a7085e89b5d57a 100644
--- a/ash/shell/shell_delegate_impl.h
+++ b/ash/shell/shell_delegate_impl.h
@@ -42,6 +42,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 SetScreenMagnifier(ScreenMagnifierType type) OVERRIDE;
+ virtual ScreenMagnifierType GetScreenMagnifierType() const OVERRIDE;
+ virtual bool AlwaysShowAccessibilityMenu() const OVERRIDE;
virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
virtual ash::LauncherDelegate* CreateLauncherDelegate(
ash::LauncherModel* model) OVERRIDE;
@@ -69,6 +74,8 @@ class ShellDelegateImpl : public ash::ShellDelegate {
bool locked_;
bool spoken_feedback_enabled_;
+ bool high_contrast_enabled_;
+ ScreenMagnifierType screen_magnifier_type_;
DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
};

Powered by Google App Engine
This is Rietveld 408576698