| Index: chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.h b/chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| index c961b205611a6156155f7457dcdc20efd3e7426a..54a1bf47642ce8ec7647326d7b4cac323724d8e5 100644
|
| --- a/chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| +++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/scoped_observer.h"
|
| #include "base/time/time.h"
|
| #include "chrome/browser/chromeos/accessibility/accessibility_util.h"
|
| +#include "chrome/browser/chromeos/accessibility/chromevox_panel.h"
|
| #include "chrome/browser/extensions/api/braille_display_private/braille_controller.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| @@ -27,6 +28,7 @@
|
| namespace content {
|
| class RenderViewHost;
|
| }
|
| +
|
| class Profile;
|
|
|
| namespace chromeos {
|
| @@ -68,6 +70,8 @@ typedef base::CallbackList<void(const AccessibilityStatusEventDetails&)>
|
| typedef AccessibilityStatusCallbackList::Subscription
|
| AccessibilityStatusSubscription;
|
|
|
| +class ChromeVoxPanelWidgetObserver;
|
| +
|
| // AccessibilityManager changes the statuses of accessibility features
|
| // watching profile notifications and pref-changes.
|
| // TODO(yoshiki): merge MagnificationManager with AccessibilityManager.
|
| @@ -200,6 +204,10 @@ class AccessibilityManager
|
| // chromeos/audio/chromeos_sounds.h.
|
| void PlayEarcon(int sound_key);
|
|
|
| + // Called by our widget observer when the ChromeVoxPanel is closing.
|
| + void OnChromeVoxPanelClosing();
|
| + void OnChromeVoxPanelDestroying();
|
| +
|
| // Profile having the a11y context.
|
| Profile* profile() { return profile_; }
|
|
|
| @@ -293,6 +301,9 @@ class AccessibilityManager
|
|
|
| bool braille_ime_current_;
|
|
|
| + ChromeVoxPanel* chromevox_panel_;
|
| + scoped_ptr<ChromeVoxPanelWidgetObserver> chromevox_panel_widget_observer_;
|
| +
|
| base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
|
|
|