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 8ea472b57daba767929f5e03e4a7a3b08878448f..b662a0f54fc538c701731f0eb093347caef15cca 100644 |
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h |
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
#define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ |
+#include <set> |
+ |
#include "ash/accessibility_delegate.h" |
#include "ash/session_state_observer.h" |
#include "base/memory/weak_ptr.h" |
@@ -176,10 +178,9 @@ class AccessibilityManager : public content::NotificationObserver, |
virtual void OnListenerRemoved( |
const extensions::EventListenerInfo& details) OVERRIDE; |
- // Plays sound identified by |sound_key| if |system_sounds_enabled_|. |
- // |sound_key| must be an ID for sound registered by |
- // AccessibilityManager. If there is no such sound or |
- // !|system_sounds_enabled_|, sound isn't played. |
+ // Plays sound identified by |sound_key|. |sound_key| must be an ID for sound |
+ // registered by AccessibilityManager. If there is no such sound, sound isn't |
+ // played. |
void PlaySound(int sound_key) const; |
// Profile which has the current a11y context. |
@@ -190,6 +191,9 @@ class AccessibilityManager : public content::NotificationObserver, |
bool chrome_vox_loaded_on_lock_screen_; |
bool chrome_vox_loaded_on_user_screen_; |
+ // Set of profiles ChromeVox is loaded to. |
+ std::set<Profile*> chromevox_profiles_; |
+ |
content::NotificationRegistrar notification_registrar_; |
scoped_ptr<PrefChangeRegistrar> pref_change_registrar_; |
scoped_ptr<PrefChangeRegistrar> local_state_pref_change_registrar_; |