OLD | NEW |
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 UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
6 #define UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 6 #define UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
7 | 7 |
8 #include "ui/keyboard/keyboard_export.h" | 8 #include "ui/keyboard/keyboard_export.h" |
9 | 9 |
10 namespace keyboard { | 10 namespace keyboard { |
11 namespace switches { | 11 namespace switches { |
12 | 12 |
13 // Disables IME extension APIs from overriding the URL for specifying the | 13 // Disables IME extension APIs from overriding the URL for specifying the |
14 // contents of the virtual keyboard container. | 14 // contents of the virtual keyboard container. |
15 KEYBOARD_EXPORT extern const char kDisableInputView[]; | 15 extern const char kDisableInputView[]; |
16 | 16 |
17 // Disables voice input. | 17 // Disables voice input. |
18 KEYBOARD_EXPORT extern const char kDisableVoiceInput[]; | 18 extern const char kDisableVoiceInput[]; |
19 | 19 |
20 // Enables experimental features for IME extensions. | 20 // Enables experimental features for IME extensions. |
21 KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[]; | 21 extern const char kEnableExperimentalInputViewFeatures[]; |
22 | 22 |
23 // Flag which disables gesture typing for the virtual keyboard. | 23 // Flag which disables gesture typing for the virtual keyboard. |
24 KEYBOARD_EXPORT extern const char kDisableGestureTyping[]; | 24 extern const char kDisableGestureTyping[]; |
25 | 25 |
26 // Controls the appearance of the settings option to enable gesture editing | 26 // Controls the appearance of the settings option to enable gesture editing |
27 // for the virtual keyboard. | 27 // for the virtual keyboard. |
28 KEYBOARD_EXPORT extern const char kDisableGestureEditing[]; | 28 extern const char kDisableGestureEditing[]; |
29 | 29 |
30 // Enables the virtual keyboard. | 30 // Enables the virtual keyboard. |
31 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; | 31 extern const char kEnableVirtualKeyboard[]; |
32 | 32 |
33 // Floating virtual keyboard flag. | 33 // Floating virtual keyboard flag. |
34 KEYBOARD_EXPORT extern const char kEnableFloatingVirtualKeyboard[]; | 34 extern const char kEnableFloatingVirtualKeyboard[]; |
35 | 35 |
36 // Disabled overscrolling of web content when the virtual keyboard is displayed. | 36 // Disabled overscrolling of web content when the virtual keyboard is displayed. |
37 // If disabled, the work area is resized to restrict windows from overlapping | 37 // If disabled, the work area is resized to restrict windows from overlapping |
38 // with the keybaord area. | 38 // with the keybaord area. |
39 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; | 39 extern const char kDisableVirtualKeyboardOverscroll[]; |
40 | 40 |
41 // Controls automatic showing/hiding of the keyboard based on the devices | 41 // Controls automatic showing/hiding of the keyboard based on the devices |
42 // plugged in. | 42 // plugged in. |
43 KEYBOARD_EXPORT extern const char kDisableSmartVirtualKeyboard[]; | 43 extern const char kDisableSmartVirtualKeyboard[]; |
44 | 44 |
45 } // namespace switches | 45 } // namespace switches |
46 } // namespace keyboard | 46 } // namespace keyboard |
47 | 47 |
48 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 48 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
OLD | NEW |