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.
5 #ifndef UI_KEYBOARD_KEYBOARD_SWITCHES_H_
6 #define UI_KEYBOARD_KEYBOARD_SWITCHES_H_
8 #include "ui/keyboard/keyboard_export.h"
13 // Enables the swipe selection feature on the virtual keyboard.
14 KEYBOARD_EXPORT
extern const char kEnableSwipeSelection
[];
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
[];
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
[];
24 // Enables experimental features for IME extensions.
25 KEYBOARD_EXPORT
extern const char kEnableExperimentalInputViewFeatures
[];
27 // Enables gesture typing for the virtual keyboard.
28 KEYBOARD_EXPORT
extern const char kEnableGestureTyping
[];
30 // Enables gesture typing for the virtual keyboard.
31 KEYBOARD_EXPORT
extern const char kEnableGestureSelection
[];
33 // Enables gesture typing for the virtual keyboard.
34 KEYBOARD_EXPORT
extern const char kEnableGestureDeletion
[];
36 // Enables the virtual keyboard.
37 KEYBOARD_EXPORT
extern const char kEnableVirtualKeyboard
[];
39 // Disabled overscrolling of web content when the virtual keyboard is displayed.
40 // If disabled, the work area is resized to restrict windows from overlapping
41 // with the keybaord area.
42 KEYBOARD_EXPORT
extern const char kDisableVirtualKeyboardOverscroll
[];
44 // Enable overscrolling of web content when the virtual keyboard is displayed
45 // to provide access to content that would otherwise be occluded.
46 KEYBOARD_EXPORT
extern const char kEnableVirtualKeyboardOverscroll
[];
48 // Disable automatic showing/hiding of the keyboard based on the devices plugged
50 KEYBOARD_EXPORT
extern const char kDisableSmartVirtualKeyboard
[];
52 } // namespace switches
53 } // namespace keyboard
55 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_