| Index: ash/shell_delegate.h
|
| diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
|
| index 6f3c7f3cfa96a6f05419dc0e5d457e65071f4230..bd988a97ce70579e928e28244203bf8480a7cd09 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"
|
| @@ -125,13 +126,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 when the user toggles spoken feedback for accessibility.
|
| virtual void ToggleSpokenFeedback() = 0;
|
|
|
| // Returns true if spoken feedback is enabled.
|
| virtual bool IsSpokenFeedbackEnabled() const = 0;
|
|
|
| + // Invoked when the user toggles high contrast for accessibility.
|
| + virtual void ToggleHighContrast() = 0;
|
| +
|
| + // Returns true if high contrast mode is enabled.
|
| + virtual bool IsHighContrastEnabled() const = 0;
|
| +
|
| + // Invoked when the user changes the mode of the screen magnifier.
|
| + virtual void SetScreenMagnifier(ScreenMagnifierType type) = 0;
|
| +
|
| + // Returns the current screen magnifier mode.
|
| + virtual ScreenMagnifierType GetScreenMagnifierType() const = 0;
|
| +
|
| + // Returns true if the user want to show accesibility menu even when all the
|
| + // accessibility features are disabled.
|
| + virtual bool AlwaysShowAccessibilityMenu() const = 0;
|
| +
|
| // Invoked to create an AppListViewDelegate. Shell takes the ownership of
|
| // the created delegate.
|
| virtual app_list::AppListViewDelegate* CreateAppListViewDelegate() = 0;
|
|
|