OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_UTIL_H_ |
7 | 7 |
8 class Browser; | 8 class Browser; |
9 | 9 |
10 namespace content { | |
11 class BrowserContext; | |
12 } | |
13 | |
14 namespace chromeos { | 10 namespace chromeos { |
15 namespace accessibility { | 11 namespace accessibility { |
16 | 12 |
17 // Enables or disable the virtual keyboard. | 13 // Enables or disable the virtual keyboard. |
18 void EnableVirtualKeyboard(bool enabled); | 14 void EnableVirtualKeyboard(bool enabled); |
19 | 15 |
20 // Returns true if the Virtual Keyboard is enabled, or false if not. | 16 // Returns true if the Virtual Keyboard is enabled, or false if not. |
21 bool IsVirtualKeyboardEnabled(); | 17 bool IsVirtualKeyboardEnabled(); |
22 | 18 |
23 // Shows the accessibility help tab on the browser. | 19 // Shows the accessibility help tab on the browser. |
24 void ShowAccessibilityHelp(Browser* browser); | 20 void ShowAccessibilityHelp(Browser* browser); |
25 | 21 |
26 void SimulateTouchScreenInChromeVoxForTest(content::BrowserContext* profile); | |
27 | |
28 } // namespace accessibility | 22 } // namespace accessibility |
29 } // namespace chromeos | 23 } // namespace chromeos |
30 | 24 |
31 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_UTIL_H_ | 25 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_UTIL_H_ |
OLD | NEW |