| 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 KEYBOARD_EXPORT extern const char kDisableInputView[]; |
| 16 | 16 |
| 17 // Disables voice input. | 17 // Disables voice input. |
| 18 KEYBOARD_EXPORT extern const char kDisableVoiceInput[]; | 18 KEYBOARD_EXPORT extern const char kDisableVoiceInput[]; |
| 19 | 19 |
| 20 // Enables an IME extension API to set a URL for specifying the contents | |
| 21 // of the virtual keyboard container. | |
| 22 KEYBOARD_EXPORT extern const char kEnableInputView[]; | |
| 23 | |
| 24 // Enables experimental features for IME extensions. | 20 // Enables experimental features for IME extensions. |
| 25 KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[]; | 21 KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[]; |
| 26 | 22 |
| 27 // Gesture typing flag for the virtual keyboard. | 23 // Flag which disables gesture typing for the virtual keyboard. |
| 28 KEYBOARD_EXPORT extern const char kGestureTyping[]; | 24 KEYBOARD_EXPORT extern const char kDisableGestureTyping[]; |
| 29 | |
| 30 // Enables gesture typing for the virtual keyboard. | |
| 31 KEYBOARD_EXPORT extern const char kGestureTypingEnabled[]; | |
| 32 | |
| 33 // Disables gesture typing for the virtual keyboard. | |
| 34 KEYBOARD_EXPORT extern const char kGestureTypingDisabled[]; | |
| 35 | 25 |
| 36 // Controls the appearance of the settings option to enable gesture editing | 26 // Controls the appearance of the settings option to enable gesture editing |
| 37 // for the virtual keyboard. | 27 // for the virtual keyboard. |
| 38 KEYBOARD_EXPORT extern const char kGestureEditing[]; | 28 KEYBOARD_EXPORT extern const char kDisableGestureEditing[]; |
| 39 | |
| 40 // Enables gesture editing for the virtual keyboard. | |
| 41 KEYBOARD_EXPORT extern const char kGestureEditingEnabled[]; | |
| 42 | |
| 43 // Disables gesture editing for the virtual keyboard. | |
| 44 KEYBOARD_EXPORT extern const char kGestureEditingDisabled[]; | |
| 45 | 29 |
| 46 // Enables the virtual keyboard. | 30 // Enables the virtual keyboard. |
| 47 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; | 31 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; |
| 48 | 32 |
| 49 // Floating virtual keyboard flag. | 33 // Floating virtual keyboard flag. |
| 50 KEYBOARD_EXPORT extern const char kFloatingVirtualKeyboard[]; | 34 KEYBOARD_EXPORT extern const char kEnableFloatingVirtualKeyboard[]; |
| 51 | |
| 52 // Disable floating virtual keyboard. | |
| 53 KEYBOARD_EXPORT extern const char kFloatingVirtualKeyboardDisabled[]; | |
| 54 | |
| 55 // Enable floating virtual keyboard. | |
| 56 KEYBOARD_EXPORT extern const char kFloatingVirtualKeyboardEnabled[]; | |
| 57 | 35 |
| 58 // Disabled overscrolling of web content when the virtual keyboard is displayed. | 36 // Disabled overscrolling of web content when the virtual keyboard is displayed. |
| 59 // 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 |
| 60 // with the keybaord area. | 38 // with the keybaord area. |
| 61 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; | 39 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; |
| 62 | 40 |
| 63 // Enable overscrolling of web content when the virtual keyboard is displayed | |
| 64 // to provide access to content that would otherwise be occluded. | |
| 65 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboardOverscroll[]; | |
| 66 | |
| 67 // Controls automatic showing/hiding of the keyboard based on the devices | 41 // Controls automatic showing/hiding of the keyboard based on the devices |
| 68 // plugged in. | 42 // plugged in. |
| 69 KEYBOARD_EXPORT extern const char kSmartVirtualKeyboard[]; | 43 KEYBOARD_EXPORT extern const char kDisableSmartVirtualKeyboard[]; |
| 70 | |
| 71 // Enables smart deploy for the virtual keyboard. | |
| 72 KEYBOARD_EXPORT extern const char kSmartVirtualKeyboardEnabled[]; | |
| 73 | |
| 74 // Disables smart deploy for the virtual keyboard. | |
| 75 KEYBOARD_EXPORT extern const char kSmartVirtualKeyboardDisabled[]; | |
| 76 | 44 |
| 77 } // namespace switches | 45 } // namespace switches |
| 78 } // namespace keyboard | 46 } // namespace keyboard |
| 79 | 47 |
| 80 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 48 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
| OLD | NEW |