| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 #if !defined(OS_MACOSX) | 1205 #if !defined(OS_MACOSX) |
| 1206 // Enables Kiosk mode. | 1206 // Enables Kiosk mode. |
| 1207 const char kKioskMode[] = "kiosk"; | 1207 const char kKioskMode[] = "kiosk"; |
| 1208 #endif | 1208 #endif |
| 1209 | 1209 |
| 1210 #if defined(TOOLKIT_VIEWS) | 1210 #if defined(TOOLKIT_VIEWS) |
| 1211 // Enables debug paint in views framework. Enabling this causes the damaged | 1211 // Enables debug paint in views framework. Enabling this causes the damaged |
| 1212 // region being painted to flash in red. | 1212 // region being painted to flash in red. |
| 1213 const char kDebugViewsPaint[] = "debug-views-paint"; | 1213 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1214 | 1214 |
| 1215 // Tells chrome to interpret events from these devices as touch events. Only |
| 1216 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
| 1217 // devices can be retrieved from 'xinput list'. |
| 1218 const char kTouchDevices[] = "touch-devices"; |
| 1219 |
| 1215 // Runs Chrome inside the views desktop shell. | 1220 // Runs Chrome inside the views desktop shell. |
| 1216 const char kViewsDesktop[] = "views-desktop"; | 1221 const char kViewsDesktop[] = "views-desktop"; |
| 1217 #endif | 1222 #endif |
| 1218 | 1223 |
| 1219 #if defined(TOUCH_UI) | |
| 1220 // Debug-only switch to prevent the mouse cursor from disappearing when touch | |
| 1221 // is enabled | |
| 1222 const char kKeepMouseCursor[] = "keep-mouse-cursor"; | |
| 1223 | |
| 1224 // Tells chrome to interpret events from these devices as touch events. Only | |
| 1225 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | |
| 1226 // devices can be retrieved from 'xinput list'. | |
| 1227 const char kTouchDevices[] = "touch-devices"; | |
| 1228 #endif | |
| 1229 | |
| 1230 #ifndef NDEBUG | 1224 #ifndef NDEBUG |
| 1231 // URL of the OAuth server host | 1225 // URL of the OAuth server host |
| 1232 const char kOAuthHostUrl[] = "oauth-host-url"; | 1226 const char kOAuthHostUrl[] = "oauth-host-url"; |
| 1233 | 1227 |
| 1234 // Clears the token service before using it. This allows simulating the | 1228 // Clears the token service before using it. This allows simulating the |
| 1235 // expiration of credentials during testing. | 1229 // expiration of credentials during testing. |
| 1236 const char kClearTokenService[] = "clear-token-service"; | 1230 const char kClearTokenService[] = "clear-token-service"; |
| 1237 | 1231 |
| 1238 // Sets a token in the token service, for testing. | 1232 // Sets a token in the token service, for testing. |
| 1239 const char kSetToken[] = "set-token"; | 1233 const char kSetToken[] = "set-token"; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 | 1268 |
| 1275 // ----------------------------------------------------------------------------- | 1269 // ----------------------------------------------------------------------------- |
| 1276 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1270 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1277 // | 1271 // |
| 1278 // You were going to just dump your switches here, weren't you? Instead, please | 1272 // You were going to just dump your switches here, weren't you? Instead, please |
| 1279 // put them in alphabetical order above, or in order inside the appropriate | 1273 // put them in alphabetical order above, or in order inside the appropriate |
| 1280 // ifdef at the bottom. The order should match the header. | 1274 // ifdef at the bottom. The order should match the header. |
| 1281 // ----------------------------------------------------------------------------- | 1275 // ----------------------------------------------------------------------------- |
| 1282 | 1276 |
| 1283 } // namespace switches | 1277 } // namespace switches |
| OLD | NEW |