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 3 // found in the LICENSE file. 4 5 #ifndef UI_KEYBOARD_KEYBOARD_SWITCHES_H_ 6 #define UI_KEYBOARD_KEYBOARD_SWITCHES_H_ 7 8 #include "ui/keyboard/keyboard_export.h" 9 10 namespace keyboard { 11 namespace switches { 12 13 // Enables the swipe selection feature on the virtual keyboard. 14 KEYBOARD_EXPORT extern const char kEnableSwipeSelection[]; 15 16 // Disables IME extension APIs from overriding the URL for specifying the 17 // contents of the virtual keyboard container. 18 KEYBOARD_EXPORT extern const char kDisableInputView[]; 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. 25 KEYBOARD_EXPORT extern const char kEnableExperimentalInputViewFeatures[]; 26 27 // Enables the virtual keyboard. 28 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; 29 30 // Disabled overscrolling of web content when the virtual keyboard is displayed. 31 // If disabled, the work area is resized to restrict windows from overlapping 32 // with the keybaord area. 33 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; 34 35 // Enable overscrolling of web content when the virtual keyboard is displayed 36 // to provide access to content that would otherwise be occluded. 37 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboardOverscroll[]; 38 39 // Enables the keyboard usability experiment. This is an experimental mode for 40 // testing the usability of various experimental keyboard layouts. 41 KEYBOARD_EXPORT extern const char kKeyboardUsabilityExperiment[]; 42 43 } // namespace switches 44 } // namespace keyboard 45 46 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ 47