Chromium Code Reviews| 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 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1237 #if defined(TOOLKIT_VIEWS) | 1237 #if defined(TOOLKIT_VIEWS) |
| 1238 // Enables debug paint in views framework. Enabling this causes the damaged | 1238 // Enables debug paint in views framework. Enabling this causes the damaged |
| 1239 // region being painted to flash in red. | 1239 // region being painted to flash in red. |
| 1240 const char kDebugViewsPaint[] = "debug-views-paint"; | 1240 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1241 | 1241 |
| 1242 // Tells chrome to interpret events from these devices as touch events. Only | 1242 // Tells chrome to interpret events from these devices as touch events. Only |
| 1243 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 1243 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
| 1244 // devices can be retrieved from 'xinput list'. | 1244 // devices can be retrieved from 'xinput list'. |
| 1245 const char kTouchDevices[] = "touch-devices"; | 1245 const char kTouchDevices[] = "touch-devices"; |
| 1246 | 1246 |
| 1247 // Enables gesture support. | |
| 1248 const char kEnableGesture[] = "enable-gesture"; | |
|
rjkroege
2011/11/09 02:43:30
these need to be in alphabetical order. like above
Gajen
2011/11/10 15:52:55
Deprecated, as implemented new GR design
| |
| 1249 | |
| 1247 // Runs Chrome inside the views desktop shell. | 1250 // Runs Chrome inside the views desktop shell. |
| 1248 const char kViewsDesktop[] = "views-desktop"; | 1251 const char kViewsDesktop[] = "views-desktop"; |
| 1249 #endif | 1252 #endif |
| 1250 | 1253 |
| 1251 #ifndef NDEBUG | 1254 #ifndef NDEBUG |
| 1252 // URL of the OAuth server host | 1255 // URL of the OAuth server host |
| 1253 const char kOAuthHostUrl[] = "oauth-host-url"; | 1256 const char kOAuthHostUrl[] = "oauth-host-url"; |
| 1254 | 1257 |
| 1255 // Clears the token service before using it. This allows simulating the | 1258 // Clears the token service before using it. This allows simulating the |
| 1256 // expiration of credentials during testing. | 1259 // expiration of credentials during testing. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1295 | 1298 |
| 1296 // ----------------------------------------------------------------------------- | 1299 // ----------------------------------------------------------------------------- |
| 1297 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1300 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1298 // | 1301 // |
| 1299 // You were going to just dump your switches here, weren't you? Instead, please | 1302 // You were going to just dump your switches here, weren't you? Instead, please |
| 1300 // put them in alphabetical order above, or in order inside the appropriate | 1303 // put them in alphabetical order above, or in order inside the appropriate |
| 1301 // ifdef at the bottom. The order should match the header. | 1304 // ifdef at the bottom. The order should match the header. |
| 1302 // ----------------------------------------------------------------------------- | 1305 // ----------------------------------------------------------------------------- |
| 1303 | 1306 |
| 1304 } // namespace switches | 1307 } // namespace switches |
| OLD | NEW |