| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 // Disables desktop notifications (default enabled on windows). | 191 // Disables desktop notifications (default enabled on windows). |
| 192 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 192 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
| 193 | 193 |
| 194 // Browser flag to disable the web inspector for all renderers. | 194 // Browser flag to disable the web inspector for all renderers. |
| 195 const char kDisableDevTools[] = "disable-dev-tools"; | 195 const char kDisableDevTools[] = "disable-dev-tools"; |
| 196 | 196 |
| 197 // Disables device orientation events. | 197 // Disables device orientation events. |
| 198 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 198 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
| 199 | 199 |
| 200 // Disable experimental WebGL support. | |
| 201 const char kDisableExperimentalWebGL[] = "disable-webgl"; | |
| 202 | |
| 203 // Disable extensions. | 200 // Disable extensions. |
| 204 const char kDisableExtensions[] = "disable-extensions"; | 201 const char kDisableExtensions[] = "disable-extensions"; |
| 205 | 202 |
| 206 // Disable checking for user opt-in for extensions that want to inject script | 203 // Disable checking for user opt-in for extensions that want to inject script |
| 207 // into file URLs (ie, always allow it). This is used during automated testing. | 204 // into file URLs (ie, always allow it). This is used during automated testing. |
| 208 const char kDisableExtensionsFileAccessCheck[] = | 205 const char kDisableExtensionsFileAccessCheck[] = |
| 209 "disable-extensions-file-access-check"; | 206 "disable-extensions-file-access-check"; |
| 210 | 207 |
| 211 // Disable FileSystem API. | 208 // Disable FileSystem API. |
| 212 const char kDisableFileSystem[] = "disable-file-system"; | 209 const char kDisableFileSystem[] = "disable-file-system"; |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 // be used by developers at the current time. | 453 // be used by developers at the current time. |
| 457 const char kEnableDNSCertProvenanceChecking[] = | 454 const char kEnableDNSCertProvenanceChecking[] = |
| 458 "enable-dns-cert-provenance-checking"; | 455 "enable-dns-cert-provenance-checking"; |
| 459 | 456 |
| 460 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; | 457 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; |
| 461 | 458 |
| 462 // Enables extension APIs that are in development. | 459 // Enables extension APIs that are in development. |
| 463 const char kEnableExperimentalExtensionApis[] = | 460 const char kEnableExperimentalExtensionApis[] = |
| 464 "enable-experimental-extension-apis"; | 461 "enable-experimental-extension-apis"; |
| 465 | 462 |
| 463 // Enable experimental WebGL support. |
| 464 const char kEnableExperimentalWebGL[] = "enable-webgl"; |
| 465 |
| 466 // Enable experimental timeline API. | 466 // Enable experimental timeline API. |
| 467 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; | 467 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; |
| 468 | 468 |
| 469 // Enable the fastback page cache. | 469 // Enable the fastback page cache. |
| 470 const char kEnableFastback[] = "enable-fastback"; | 470 const char kEnableFastback[] = "enable-fastback"; |
| 471 | 471 |
| 472 // By default, cookies are not allowed on file://. They are needed for | 472 // By default, cookies are not allowed on file://. They are needed for |
| 473 // testing, for example page cycler and layout tests. See bug 1157243. | 473 // testing, for example page cycler and layout tests. See bug 1157243. |
| 474 const char kEnableFileCookies[] = "enable-file-cookies"; | 474 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 475 | 475 |
| (...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1364 | 1364 |
| 1365 // ----------------------------------------------------------------------------- | 1365 // ----------------------------------------------------------------------------- |
| 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1367 // | 1367 // |
| 1368 // You were going to just dump your switches here, weren't you? Instead, | 1368 // You were going to just dump your switches here, weren't you? Instead, |
| 1369 // please put them in alphabetical order above, or in order inside the | 1369 // please put them in alphabetical order above, or in order inside the |
| 1370 // appropriate ifdef at the bottom. The order should match the header. | 1370 // appropriate ifdef at the bottom. The order should match the header. |
| 1371 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
| 1372 | 1372 |
| 1373 } // namespace switches | 1373 } // namespace switches |
| OLD | NEW |