| 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 // Enables the swipe selection feature on the virtual keyboard. | 13 // Enables the swipe selection feature on the virtual keyboard. |
| 14 KEYBOARD_EXPORT extern const char kEnableSwipeSelection[]; | 14 KEYBOARD_EXPORT extern const char kEnableSwipeSelection[]; |
| 15 | 15 |
| 16 // Disables IME extension APIs from overriding the URL for specifying the | 16 // Disables IME extension APIs from overriding the URL for specifying the |
| 17 // contents of the virtual keyboard container. | 17 // contents of the virtual keyboard container. |
| 18 KEYBOARD_EXPORT extern const char kDisableInputView[]; | 18 KEYBOARD_EXPORT extern const char kDisableInputView[]; |
| 19 | 19 |
| 20 // Enables an IME extension API to set a URL for specifying the contents | 20 // Enables an IME extension API to set a URL for specifying the contents |
| 21 // of the virtual keyboard container. | 21 // of the virtual keyboard container. |
| 22 KEYBOARD_EXPORT extern const char kEnableInputView[]; | 22 KEYBOARD_EXPORT extern const char kEnableInputView[]; |
| 23 | 23 |
| 24 // Enables experimental features for IME extensions. | 24 // Enables experimental features for IME extensions. |
| 25 KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[]; | 25 KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[]; |
| 26 | 26 |
| 27 // Enables gesture typing for the virtual keyboard. |
| 28 KEYBOARD_EXPORT extern const char kEnableGestureTyping[]; |
| 29 |
| 27 // Enables the virtual keyboard. | 30 // Enables the virtual keyboard. |
| 28 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; | 31 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; |
| 29 | 32 |
| 30 // Disabled overscrolling of web content when the virtual keyboard is displayed. | 33 // Disabled overscrolling of web content when the virtual keyboard is displayed. |
| 31 // If disabled, the work area is resized to restrict windows from overlapping | 34 // If disabled, the work area is resized to restrict windows from overlapping |
| 32 // with the keybaord area. | 35 // with the keybaord area. |
| 33 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; | 36 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; |
| 34 | 37 |
| 35 // Enable overscrolling of web content when the virtual keyboard is displayed | 38 // Enable overscrolling of web content when the virtual keyboard is displayed |
| 36 // to provide access to content that would otherwise be occluded. | 39 // to provide access to content that would otherwise be occluded. |
| 37 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboardOverscroll[]; | 40 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboardOverscroll[]; |
| 38 | 41 |
| 39 // Disable automatic showing/hiding of the keyboard based on the devices plugged | 42 // Disable automatic showing/hiding of the keyboard based on the devices plugged |
| 40 // in. | 43 // in. |
| 41 KEYBOARD_EXPORT extern const char kDisableSmartVirtualKeyboard[]; | 44 KEYBOARD_EXPORT extern const char kDisableSmartVirtualKeyboard[]; |
| 42 | 45 |
| 43 } // namespace switches | 46 } // namespace switches |
| 44 } // namespace keyboard | 47 } // namespace keyboard |
| 45 | 48 |
| 46 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 49 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
| OLD | NEW |