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