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. | 9 // Disables new menu UI. |
10 const char kDisableNewMenuStyle[] = "disable-new-menu-style"; | 10 const char kDisableNewMenuStyle[] = "disable-new-menu-style"; |
(...skipping 30 matching lines...) Expand all Loading... |
41 "highlight-missing-scaled-resources"; | 41 "highlight-missing-scaled-resources"; |
42 | 42 |
43 // The language file that we want to try to open. Of the form | 43 // The language file that we want to try to open. Of the form |
44 // language[-country] where language is the 2 letter code from ISO-639. | 44 // language[-country] where language is the 2 letter code from ISO-639. |
45 const char kLang[] = "lang"; | 45 const char kLang[] = "lang"; |
46 | 46 |
47 // Load the locale resources from the given path. When running on Mac/Unix the | 47 // Load the locale resources from the given path. When running on Mac/Unix the |
48 // path should point to a locale.pak file. | 48 // path should point to a locale.pak file. |
49 const char kLocalePak[] = "locale_pak"; | 49 const char kLocalePak[] = "locale_pak"; |
50 | 50 |
51 // Disables the new appearance for checkboxes and radio buttons. | |
52 const char kOldCheckboxStyle[] = "old-checkbox-style"; | |
53 | |
54 // Disable ui::MessageBox. This is useful when running as part of scripts that | 51 // Disable ui::MessageBox. This is useful when running as part of scripts that |
55 // do not have a user interface. | 52 // do not have a user interface. |
56 const char kNoMessageBox[] = "no-message-box"; | 53 const char kNoMessageBox[] = "no-message-box"; |
57 | 54 |
58 // Enable support for touch events. | 55 // Enable support for touch events. |
59 const char kTouchEvents[] = "touch-events"; | 56 const char kTouchEvents[] = "touch-events"; |
60 | 57 |
61 // The values the kTouchEvents switch may have, as in --touch-events=disabled. | 58 // The values the kTouchEvents switch may have, as in --touch-events=disabled. |
62 // auto: enabled at startup when an attached touchscreen is present. | 59 // auto: enabled at startup when an attached touchscreen is present. |
63 const char kTouchEventsAuto[] = "auto"; | 60 const char kTouchEventsAuto[] = "auto"; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 #endif | 92 #endif |
96 | 93 |
97 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 94 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
98 // Tells chrome to interpret events from these devices as touch events. Only | 95 // Tells chrome to interpret events from these devices as touch events. Only |
99 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 96 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
100 // devices can be retrieved from 'xinput list'. | 97 // devices can be retrieved from 'xinput list'. |
101 const char kTouchDevices[] = "touch-devices"; | 98 const char kTouchDevices[] = "touch-devices"; |
102 #endif | 99 #endif |
103 | 100 |
104 } // namespace switches | 101 } // namespace switches |
OLD | NEW |