Index: ash/shell_delegate.h |
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
index 3c5d43396bba6166832e380063009750f05d5989..3bd85bdd9a1605a554dbd35463138574ba1a190b 100644 |
--- a/ash/shell_delegate.h |
+++ b/ash/shell_delegate.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "ash/ash_export.h" |
+#include "ash/magnifier/magnifier_constants.h" |
#include "ash/shell.h" |
#include "base/callback.h" |
#include "base/string16.h" |
@@ -129,13 +130,28 @@ class ASH_EXPORT ShellDelegate { |
// Get the current browser context. This will get us the current profile. |
virtual content::BrowserContext* GetCurrentBrowserContext() = 0; |
- // Invoked when the user presses a shortcut to toggle spoken feedback |
- // for accessibility. |
+ // Invoked to toggle spoken feedback for accessibility |
virtual void ToggleSpokenFeedback() = 0; |
// Returns true if spoken feedback is enabled. |
virtual bool IsSpokenFeedbackEnabled() const = 0; |
+ // Invoked to toggle high contrast for accessibility. |
+ virtual void ToggleHighContrast() = 0; |
+ |
+ // Returns true if high contrast mode is enabled. |
+ virtual bool IsHighContrastEnabled() const = 0; |
+ |
+ // Invoked to change the mode of the screen magnifier. |
+ virtual void SetScreenMagnifier(MagnifierType type) = 0; |
Daniel Erat
2012/11/26 18:11:39
nit: should probably be renamed to SetMagnifierTyp
yoshiki
2012/11/28 12:35:29
Done.
|
+ |
+ // Returns the current screen magnifier mode. |
+ virtual MagnifierType GetMagnifierType() const = 0; |
+ |
+ // Returns true if the user want to show accesibility menu even when all the |
+ // accessibility features are disabled. |
+ virtual bool ShouldAlwaysShowAccessibilityMenu() const = 0; |
+ |
// Invoked to create an AppListViewDelegate. Shell takes the ownership of |
// the created delegate. |
virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0; |