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

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: Fixed some rebase quirks 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 the given earcon.
194 void PlayEarcon(int sound_key);
195
193 protected: 196 protected:
194 AccessibilityManager(); 197 AccessibilityManager();
195 virtual ~AccessibilityManager(); 198 virtual ~AccessibilityManager();
196 199
197 private: 200 private:
198 void LoadChromeVox(); 201 void LoadChromeVox();
199 void LoadChromeVoxToUserScreen(const base::Closure& done_cb); 202 void LoadChromeVoxToUserScreen(const base::Closure& done_cb);
200 void LoadChromeVoxToLockScreen(const base::Closure& done_cb); 203 void LoadChromeVoxToLockScreen(const base::Closure& done_cb);
201 void UnloadChromeVox(); 204 void UnloadChromeVox();
202 void UnloadChromeVoxFromLockScreen(); 205 void UnloadChromeVoxFromLockScreen();
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 AccessibilityManager> scoped_braille_observer_; 284 AccessibilityManager> scoped_braille_observer_;
282 285
283 bool braille_ime_current_; 286 bool braille_ime_current_;
284 287
285 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); 288 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
286 }; 289 };
287 290
288 } // namespace chromeos 291 } // namespace chromeos
289 292
290 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 293 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698