Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 410783002: Corner Passthrough for Accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@side-gestures
Patch Set: Removed extra comment Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/accessibility_delegate.h" 10 #include "ash/accessibility_delegate.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 scoped_ptr<AccessibilityStatusSubscription> RegisterCallback( 183 scoped_ptr<AccessibilityStatusSubscription> RegisterCallback(
184 const AccessibilityStatusCallback& cb); 184 const AccessibilityStatusCallback& cb);
185 185
186 // Notify registered callbacks of a status change in an accessibility setting. 186 // Notify registered callbacks of a status change in an accessibility setting.
187 void NotifyAccessibilityStatusChanged( 187 void NotifyAccessibilityStatusChanged(
188 AccessibilityStatusEventDetails& details); 188 AccessibilityStatusEventDetails& details);
189 189
190 // Notify accessibility when locale changes occur. 190 // Notify accessibility when locale changes occur.
191 void OnLocaleChanged(); 191 void OnLocaleChanged();
192 192
193 // Plays an earcon. Earcons are brief and distinctive sounds that indicate
194 // when their mapped event has occurred. The sound key enums can be found in
195 // chromeos/audio/chromeos_sounds.h.
196 void PlayEarcon(int sound_key);
197
193 protected: 198 protected:
194 AccessibilityManager(); 199 AccessibilityManager();
195 virtual ~AccessibilityManager(); 200 virtual ~AccessibilityManager();
196 201
197 private: 202 private:
198 void LoadChromeVox(); 203 void LoadChromeVox();
199 void LoadChromeVoxToUserScreen(const base::Closure& done_cb); 204 void LoadChromeVoxToUserScreen(const base::Closure& done_cb);
200 void LoadChromeVoxToLockScreen(const base::Closure& done_cb); 205 void LoadChromeVoxToLockScreen(const base::Closure& done_cb);
201 void UnloadChromeVox(); 206 void UnloadChromeVox();
202 void UnloadChromeVoxFromLockScreen(); 207 void UnloadChromeVoxFromLockScreen();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 AccessibilityManager> scoped_braille_observer_; 286 AccessibilityManager> scoped_braille_observer_;
282 287
283 bool braille_ime_current_; 288 bool braille_ime_current_;
284 289
285 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); 290 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
286 }; 291 };
287 292
288 } // namespace chromeos 293 } // namespace chromeos
289 294
290 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 295 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698