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 voice input.
18 KEYBOARD_EXPORT
extern const char kDisableVoiceInput
[];
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 // Gesture typing flag for the virtual keyboard.
28 KEYBOARD_EXPORT
extern const char kGestureTyping
[];
30 // Enables gesture typing for the virtual keyboard.
31 KEYBOARD_EXPORT
extern const char kGestureTypingEnabled
[];
33 // Disables gesture typing for the virtual keyboard.
34 KEYBOARD_EXPORT
extern const char kGestureTypingDisabled
[];
36 // Controls the appearance of the settings option to enable gesture editing
37 // for the virtual keyboard.
38 KEYBOARD_EXPORT
extern const char kGestureEditing
[];
40 // Enables gesture editing for the virtual keyboard.
41 KEYBOARD_EXPORT
extern const char kGestureEditingEnabled
[];
43 // Disables gesture editing for the virtual keyboard.
44 KEYBOARD_EXPORT
extern const char kGestureEditingDisabled
[];
46 // Enables the virtual keyboard.
47 KEYBOARD_EXPORT
extern const char kEnableVirtualKeyboard
[];
49 // Floating virtual keyboard flag.
50 KEYBOARD_EXPORT
extern const char kFloatingVirtualKeyboard
[];
52 // Disable floating virtual keyboard.
53 KEYBOARD_EXPORT
extern const char kFloatingVirtualKeyboardDisabled
[];
55 // Enable floating virtual keyboard.
56 KEYBOARD_EXPORT
extern const char kFloatingVirtualKeyboardEnabled
[];
58 // Disabled overscrolling of web content when the virtual keyboard is displayed.
59 // If disabled, the work area is resized to restrict windows from overlapping
60 // with the keybaord area.
61 KEYBOARD_EXPORT
extern const char kDisableVirtualKeyboardOverscroll
[];
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
[];
67 // Controls automatic showing/hiding of the keyboard based on the devices
69 KEYBOARD_EXPORT
extern const char kSmartVirtualKeyboard
[];
71 // Enables smart deploy for the virtual keyboard.
72 KEYBOARD_EXPORT
extern const char kSmartVirtualKeyboardEnabled
[];
74 // Disables smart deploy for the virtual keyboard.
75 KEYBOARD_EXPORT
extern const char kSmartVirtualKeyboardDisabled
[];
77 } // namespace switches
78 } // namespace keyboard
80 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_