Index: chrome/browser/chromeos/login/wizard_accessibility_helper.h |
=================================================================== |
--- chrome/browser/chromeos/login/wizard_accessibility_helper.h (revision 69334) |
+++ chrome/browser/chromeos/login/wizard_accessibility_helper.h (working copy) |
@@ -37,7 +37,7 @@ |
// Enables Accessibility by setting the accessibility pref and registers |
// all views in the view buffer to raise accessibility notifications, |
// including the specified |view_tree|. |
- void EnableAccessibility(views::View* view_tree); |
+ void EnableAccessibilityForView(views::View* view_tree); |
// Enables accessibility for the specified |view_tree| if the |
// accessibility pref is already set. Otherwise the |view_tree| is |
@@ -54,6 +54,11 @@ |
// Unregisters all accessibility notifications |
void UnregisterNotifications(); |
+ // Toggles accessibility support. If |view_tree| is null, only the |
+ // access preference setting is toggled. |view_tree| has no effect while |
+ // disabling accessibility. |
+ void ToggleAccessibility(views::View* view_tree); |
+ |
private: |
friend struct DefaultSingletonTraits<WizardAccessibilityHelper>; |
@@ -63,6 +68,10 @@ |
void RegisterNotifications(); |
+ bool IsAccessibilityEnabled(); |
+ |
+ void SetAccessibilityEnabled(bool); |
oshima
2010/12/16 00:36:53
specify arg name
|
+ |
static scoped_ptr<views::Accelerator> accelerator_; |
void AddViewToBuffer(views::View* view_tree); |