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

Side by Side Diff: chrome/browser/chromeos/accessibility_util.h

Issue 7781004: Move Speak() in accessibility_utils, speak enable and disable strings when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused headers Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 class WebUI; 9 class WebUI;
10 10
11 namespace chromeos { 11 namespace chromeos {
12 namespace accessibility { 12 namespace accessibility {
13 13
14 // Enable or disable accessibility. Enabling accessibility installs the 14 // Enable or disable accessibility. Enabling accessibility installs the
15 // ChromeVox component extension. If this is being called in a login/oobe 15 // ChromeVox component extension. If this is being called in a login/oobe
16 // login screen, pass the WebUI object in login_web_ui so that ChromeVox 16 // login screen, pass the WebUI object in login_web_ui so that ChromeVox
17 // can be injected directly into that screen, otherwise it should be NULL. 17 // can be injected directly into that screen, otherwise it should be NULL.
18 void EnableAccessibility(bool enabled, WebUI* login_web_ui); 18 void EnableAccessibility(bool enabled, WebUI* login_web_ui);
19 19
20 // Toggles whether Chrome OS accessibility is on or off. See docs for 20 // Toggles whether Chrome OS accessibility is on or off. See docs for
21 // EnableAccessibility, above. 21 // EnableAccessibility, above.
22 void ToggleAccessibility(WebUI* login_web_ui); 22 void ToggleAccessibility(WebUI* login_web_ui);
23 23
24 // Speaks the specified string.
25 void Speak(const char* speak_str, bool queue, bool interruptible);
26
24 } // namespace accessibility 27 } // namespace accessibility
25 } // namespace chromeos 28 } // namespace chromeos
26 29
27 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_UTIL_H_ 30 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698