| Index: chrome/browser/chromeos/accessibility/accessibility_util.h
|
| diff --git a/chrome/browser/chromeos/accessibility/accessibility_util.h b/chrome/browser/chromeos/accessibility/accessibility_util.h
|
| index 87c814874f542f055f7f5eb6a0c3afa879ceaabf..bfada23293c1622da61f25e829a78c5393ed3052 100644
|
| --- a/chrome/browser/chromeos/accessibility/accessibility_util.h
|
| +++ b/chrome/browser/chromeos/accessibility/accessibility_util.h
|
| @@ -6,6 +6,9 @@
|
| #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_UTIL_H_
|
|
|
| #include <string>
|
| +#include "ash/magnifier/magnifier_constants.h"
|
| +
|
| +class Browser;
|
|
|
| namespace content {
|
| class WebUI;
|
| @@ -23,14 +26,8 @@ void EnableSpokenFeedback(bool enabled, content::WebUI* login_web_ui);
|
| // Enable or disable the high contrast mode for Chrome.
|
| void EnableHighContrast(bool enabled);
|
|
|
| -enum ScreenMagnifierType {
|
| - MAGNIFIER_OFF,
|
| - MAGNIFIER_FULL,
|
| - MAGNIFIER_PARTIAL,
|
| -};
|
| -
|
| // Set the type of screen magnifier, or disable it.
|
| -void SetScreenMagnifier(ScreenMagnifierType type);
|
| +void SetScreenMagnifier(ash::ScreenMagnifierType type);
|
|
|
| // Enable or disable the virtual keyboard.
|
| void EnableVirtualKeyboard(bool enabled);
|
| @@ -49,17 +46,20 @@ bool IsSpokenFeedbackEnabled();
|
| bool IsHighContrastEnabled();
|
|
|
| // Returns the current state of the screen magnifier.
|
| -ScreenMagnifierType GetScreenMagnifierType();
|
| +ash::ScreenMagnifierType GetScreenMagnifierType();
|
|
|
| // Translates from a string to ScreenMagnifierType.
|
| -ScreenMagnifierType ScreenMagnifierTypeFromName(const char type_name[]);
|
| +ash::ScreenMagnifierType ScreenMagnifierTypeFromName(const char type_name[]);
|
|
|
| // Translates from a ScreenMagnifierType to type string.
|
| -const char* ScreenMagnifierNameFromType(ScreenMagnifierType type);
|
| +const char* ScreenMagnifierNameFromType(ash::ScreenMagnifierType type);
|
|
|
| // Speak the given text if the accessibility pref is already set.
|
| void MaybeSpeak(const std::string& utterance);
|
|
|
| +// Show the accessibility help tab on the browser.
|
| +void ShowAccessibilityHelp(Browser* browser);
|
| +
|
| } // namespace accessibility
|
| } // namespace chromeos
|
|
|
|
|