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