| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 5 #ifndef UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
| 6 #define UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 6 #define UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
| 7 | 7 |
| 8 #include "ui/keyboard/keyboard_export.h" | 8 #include "ui/keyboard/keyboard_export.h" |
| 9 | 9 |
| 10 namespace keyboard { | 10 namespace keyboard { |
| 11 namespace switches { | 11 namespace switches { |
| 12 | 12 |
| 13 // Disabled overscrolling of web content when the virtual keyboard is displayed. |
| 14 // If disabled, the work area is resized to restrict windows from overlapping |
| 15 // with the keybaord area. |
| 16 KEYBOARD_EXPORT extern const char kDisableVirtualKeyboardOverscroll[]; |
| 17 |
| 13 // Enables the swipe selection feature on the virtual keyboard. | 18 // Enables the swipe selection feature on the virtual keyboard. |
| 14 KEYBOARD_EXPORT extern const char kEnableSwipeSelection[]; | 19 KEYBOARD_EXPORT extern const char kEnableSwipeSelection[]; |
| 15 | 20 |
| 16 // Enables the virtual keyboard. | 21 // Enables the virtual keyboard. |
| 17 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; | 22 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; |
| 18 | 23 |
| 24 // Enable overscrolling of web content when the virtual keyboard is displayed |
| 25 // to provide access to content that would otherwise be occluded. |
| 26 KEYBOARD_EXPORT extern const char kEnableVirtualKeyboardOverscroll[]; |
| 27 |
| 19 // Enables the keyboard usability experiment. This is an experimental mode for | 28 // Enables the keyboard usability experiment. This is an experimental mode for |
| 20 // testing the usability of various experimental keyboard layouts. | 29 // testing the usability of various experimental keyboard layouts. |
| 21 KEYBOARD_EXPORT extern const char kKeyboardUsabilityExperiment[]; | 30 KEYBOARD_EXPORT extern const char kKeyboardUsabilityExperiment[]; |
| 22 | 31 |
| 23 } // namespace switches | 32 } // namespace switches |
| 24 } // namespace keyboard | 33 } // namespace keyboard |
| 25 | 34 |
| 26 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ | 35 #endif // UI_KEYBOARD_KEYBOARD_SWITCHES_H_ |
| OLD | NEW |