Add protos to control device disabling during normal operation
[chromium-blink-merge.git] / ui / keyboard / keyboard_switches.h
blob26d28c61a8d4b1f863ed2e06e2b1025b814ad52e
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"
10 namespace keyboard {
11 namespace switches {
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 the virtual keyboard.
28 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[];
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[];
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[];
39 // Enable automatic showing/hiding of the keyboard based on the devices plugged
40 // in.
41 KEYBOARD_EXPORT extern const char kAutoVirtualKeyboard[];
43 } // namespace switches
44 } // namespace keyboard
46 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_