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 // Disables IME extension APIs from overriding the URL for specifying the
14 // contents of the virtual keyboard container.
15 KEYBOARD_EXPORT
extern const char kDisableInputView
[];
17 // Disables material design styling of the keyboard.
18 KEYBOARD_EXPORT
extern const char kDisableNewMDInputView
[];
20 // Disables voice input.
21 KEYBOARD_EXPORT
extern const char kDisableVoiceInput
[];
23 // Enables an IME extension API to set a URL for specifying the contents
24 // of the virtual keyboard container.
25 KEYBOARD_EXPORT
extern const char kEnableInputView
[];
27 // Enables experimental features for IME extensions.
28 KEYBOARD_EXPORT
extern const char kEnableExperimentalInputViewFeatures
[];
30 // Gesture typing flag for the virtual keyboard.
31 KEYBOARD_EXPORT
extern const char kGestureTyping
[];
33 // Enables gesture typing for the virtual keyboard.
34 KEYBOARD_EXPORT
extern const char kGestureTypingEnabled
[];
36 // Disables gesture typing for the virtual keyboard.
37 KEYBOARD_EXPORT
extern const char kGestureTypingDisabled
[];
39 // Controls the appearance of the settings option to enable gesture editing
40 // for the virtual keyboard.
41 KEYBOARD_EXPORT
extern const char kGestureEditing
[];
43 // Enables gesture editing for the virtual keyboard.
44 KEYBOARD_EXPORT
extern const char kGestureEditingEnabled
[];
46 // Disables gesture editing for the virtual keyboard.
47 KEYBOARD_EXPORT
extern const char kGestureEditingDisabled
[];
49 // Enables the virtual keyboard.
50 KEYBOARD_EXPORT
extern const char kEnableVirtualKeyboard
[];
52 // Floating virtual keyboard flag.
53 KEYBOARD_EXPORT
extern const char kFloatingVirtualKeyboard
[];
55 // Disable floating virtual keyboard.
56 KEYBOARD_EXPORT
extern const char kFloatingVirtualKeyboardDisabled
[];
58 // Enable floating virtual keyboard.
59 KEYBOARD_EXPORT
extern const char kFloatingVirtualKeyboardEnabled
[];
61 // Disabled overscrolling of web content when the virtual keyboard is displayed.
62 // If disabled, the work area is resized to restrict windows from overlapping
63 // with the keybaord area.
64 KEYBOARD_EXPORT
extern const char kDisableVirtualKeyboardOverscroll
[];
66 // Enable overscrolling of web content when the virtual keyboard is displayed
67 // to provide access to content that would otherwise be occluded.
68 KEYBOARD_EXPORT
extern const char kEnableVirtualKeyboardOverscroll
[];
70 // Controls automatic showing/hiding of the keyboard based on the devices
72 KEYBOARD_EXPORT
extern const char kSmartVirtualKeyboard
[];
74 // Enables smart deploy for the virtual keyboard.
75 KEYBOARD_EXPORT
extern const char kSmartVirtualKeyboardEnabled
[];
77 // Disables smart deploy for the virtual keyboard.
78 KEYBOARD_EXPORT
extern const char kSmartVirtualKeyboardDisabled
[];
80 } // namespace switches
81 } // namespace keyboard
83 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_