| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 // Disables desktop notifications (default enabled on windows). | 198 // Disables desktop notifications (default enabled on windows). |
| 199 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 199 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 200 | 200 |
| 201 // Browser flag to disable the web inspector for all renderers. | 201 // Browser flag to disable the web inspector for all renderers. |
| 202 const char kDisableDevTools[] = "disable-dev-tools"; | 202 const char kDisableDevTools[] = "disable-dev-tools"; |
| 203 | 203 |
| 204 // Disables device orientation events. | 204 // Disables device orientation events. |
| 205 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 205 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
| 206 | 206 |
| 207 // By default, if the URL request throttler finds that a server is overloaded or |
| 208 // encounters an error, it rejects requests to the server for a period of time, |
| 209 // which is determined by an exponential back-off algorithm. This switch |
| 210 // disables such behavior. |
| 211 const char kDisableEnforcedThrottling[] = "disable-enforced-throttling"; |
| 212 |
| 207 // Disable experimental WebGL support. | 213 // Disable experimental WebGL support. |
| 208 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 214 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
| 209 | 215 |
| 210 // Disable extensions. | 216 // Disable extensions. |
| 211 const char kDisableExtensions[] = "disable-extensions"; | 217 const char kDisableExtensions[] = "disable-extensions"; |
| 212 | 218 |
| 213 // Disable checking for user opt-in for extensions that want to inject script | 219 // Disable checking for user opt-in for extensions that want to inject script |
| 214 // into file URLs (ie, always allow it). This is used during automated testing. | 220 // into file URLs (ie, always allow it). This is used during automated testing. |
| 215 const char kDisableExtensionsFileAccessCheck[] = | 221 const char kDisableExtensionsFileAccessCheck[] = |
| 216 "disable-extensions-file-access-check"; | 222 "disable-extensions-file-access-check"; |
| (...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1367 | 1373 |
| 1368 // ----------------------------------------------------------------------------- | 1374 // ----------------------------------------------------------------------------- |
| 1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1375 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1370 // | 1376 // |
| 1371 // You were going to just dump your switches here, weren't you? Instead, | 1377 // You were going to just dump your switches here, weren't you? Instead, |
| 1372 // please put them in alphabetical order above, or in order inside the | 1378 // please put them in alphabetical order above, or in order inside the |
| 1373 // appropriate ifdef at the bottom. The order should match the header. | 1379 // appropriate ifdef at the bottom. The order should match the header. |
| 1374 // ----------------------------------------------------------------------------- | 1380 // ----------------------------------------------------------------------------- |
| 1375 | 1381 |
| 1376 } // namespace switches | 1382 } // namespace switches |
| OLD | NEW |