OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/base/ui_base_switches.h" | 5 #include "ui/base/ui_base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
| 9 // Disables new menu UI. |
| 10 const char kDisableNewMenuStyle[] = "disable-new-menu-style"; |
| 11 |
9 // Disable touch adjustment. | 12 // Disable touch adjustment. |
10 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 13 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
11 | 14 |
12 // Enable support for bezel touch. | 15 // Enable support for bezel touch. |
13 const char kEnableBezelTouch[] = "enable-bezel-touch"; | 16 const char kEnableBezelTouch[] = "enable-bezel-touch"; |
14 | 17 |
15 // Enables the new dialog style wherever it is available. | 18 // Enables the new dialog style wherever it is available. |
16 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; | 19 const char kEnableNewDialogStyle[] = "enable-new-dialog-style"; |
17 | 20 |
18 // Enables new menu UI. | |
19 const char kEnableNewMenuStyle[] = "enable-new-menu-style"; | |
20 | |
21 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; | 21 const char kEnableTouchDragDrop[] = "enable-touch-drag-drop"; |
22 | 22 |
23 // Enables the Views textfield on Windows. | 23 // Enables the Views textfield on Windows. |
24 const char kEnableViewsTextfield[] = "enable-views-textfield"; | 24 const char kEnableViewsTextfield[] = "enable-views-textfield"; |
25 | 25 |
26 // Overrides the device scale factor for the browser UI and the | 26 // Overrides the device scale factor for the browser UI and the |
27 // contents. | 27 // contents. |
28 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; | 28 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; |
29 | 29 |
30 // If a resource is requested at a scale factor at which it is not available | 30 // If a resource is requested at a scale factor at which it is not available |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #endif | 90 #endif |
91 | 91 |
92 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 92 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
93 // Tells chrome to interpret events from these devices as touch events. Only | 93 // Tells chrome to interpret events from these devices as touch events. Only |
94 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 94 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
95 // devices can be retrieved from 'xinput list'. | 95 // devices can be retrieved from 'xinput list'. |
96 const char kTouchDevices[] = "touch-devices"; | 96 const char kTouchDevices[] = "touch-devices"; |
97 #endif | 97 #endif |
98 | 98 |
99 } // namespace switches | 99 } // namespace switches |
OLD | NEW |