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

Unified Diff: ash/test/test_shell_delegate.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/test/test_shell_delegate.h
diff --git a/ash/test/test_shell_delegate.h b/ash/test/test_shell_delegate.h
index f96c370381e3a992703b4984e7119da5262290a7..5b657829a256dc51c102ac2bc87ba2be47852b68 100644
--- a/ash/test/test_shell_delegate.h
+++ b/ash/test/test_shell_delegate.h
@@ -41,6 +41,11 @@ class TestShellDelegate : public 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(const ScreenMagnifierType type) OVERRIDE;
+ virtual ScreenMagnifierType GetScreenMagnifierType() const OVERRIDE;
+ virtual bool AlwaysShowAccessibilityMenu() const OVERRIDE;
virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
virtual LauncherDelegate* CreateLauncherDelegate(
ash::LauncherModel* model) OVERRIDE;
@@ -80,6 +85,8 @@ class TestShellDelegate : public ShellDelegate {
bool locked_;
bool session_started_;
bool spoken_feedback_enabled_;
+ bool high_contrast_enabled_;
+ ScreenMagnifierType screen_magnifier_type_;
bool user_logged_in_;
int num_exit_requests_;

Powered by Google App Engine
This is Rietveld 408576698