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 "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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // Disable checking for user opt-in for extensions that want to inject script | 260 // Disable checking for user opt-in for extensions that want to inject script |
261 // into file URLs (ie, always allow it). This is used during automated testing. | 261 // into file URLs (ie, always allow it). This is used during automated testing. |
262 const char kDisableExtensionsFileAccessCheck[] = | 262 const char kDisableExtensionsFileAccessCheck[] = |
263 "disable-extensions-file-access-check"; | 263 "disable-extensions-file-access-check"; |
264 | 264 |
265 // Disable the net::URLRequestThrottlerManager functionality for | 265 // Disable the net::URLRequestThrottlerManager functionality for |
266 // requests originating from extensions. | 266 // requests originating from extensions. |
267 const char kDisableExtensionsHttpThrottling[] = | 267 const char kDisableExtensionsHttpThrottling[] = |
268 "disable-extensions-http-throttling"; | 268 "disable-extensions-http-throttling"; |
269 | 269 |
270 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging | |
271 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file | |
272 // bugs if something isn't working properly in the presence of IPv6. This flag | |
273 // can be overidden by the "enable-ipv6" flag. | |
274 const char kDisableIPv6[] = "disable-ipv6"; | |
275 | |
276 // Disable the behavior that the second click on a launcher item (the click when | 270 // Disable the behavior that the second click on a launcher item (the click when |
277 // the item is already active) minimizes the item. | 271 // the item is already active) minimizes the item. |
278 const char kDisableMinimizeOnSecondLauncherItemClick[] = | 272 const char kDisableMinimizeOnSecondLauncherItemClick[] = |
279 "disable-minimize-on-second-launcher-item-click"; | 273 "disable-minimize-on-second-launcher-item-click"; |
280 | 274 |
281 // Disables the new bookmark app system. | 275 // Disables the new bookmark app system. |
282 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; | 276 const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
283 | 277 |
284 // Disables the new offline error page generated by NetErrorHelper for ChromeOS | 278 // Disables the new offline error page generated by NetErrorHelper for ChromeOS |
285 // and instead uses the old error page generated by OfflineResourceThrottle. | 279 // and instead uses the old error page generated by OfflineResourceThrottle. |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 "enable-extension-activity-logging"; | 432 "enable-extension-activity-logging"; |
439 | 433 |
440 const char kEnableExtensionActivityLogTesting[] = | 434 const char kEnableExtensionActivityLogTesting[] = |
441 "enable-extension-activity-log-testing"; | 435 "enable-extension-activity-log-testing"; |
442 | 436 |
443 // Enable the fast unload controller, which speeds up tab/window close by | 437 // Enable the fast unload controller, which speeds up tab/window close by |
444 // running a tab's onunload js handler independently of the GUI - | 438 // running a tab's onunload js handler independently of the GUI - |
445 // crbug.com/142458 . | 439 // crbug.com/142458 . |
446 const char kEnableFastUnload[] = "enable-fast-unload"; | 440 const char kEnableFastUnload[] = "enable-fast-unload"; |
447 | 441 |
448 // Enables IPv6 support, even if probes suggest that it may not be fully | |
449 // supported. Some probes may require internet connections, and this flag will | |
450 // allow support independent of application testing. This flag overrides | |
451 // "disable-ipv6" which appears elswhere in this file. | |
452 const char kEnableIPv6[] = "enable-ipv6"; | |
453 | |
454 // Enables experimentation with launching ephemeral apps via hyperlinks. | 442 // Enables experimentation with launching ephemeral apps via hyperlinks. |
455 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; | 443 const char kEnableLinkableEphemeralApps[] = "enable-linkable-ephemeral-apps"; |
456 | 444 |
457 // Enables the material design Settings feature. | 445 // Enables the material design Settings feature. |
458 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; | 446 const char kEnableMaterialDesignSettings[] = "enable-md-settings"; |
459 | 447 |
460 // Enables Media Router. | 448 // Enables Media Router. |
461 const char kEnableMediaRouter[] = "enable-media-router"; | 449 const char kEnableMediaRouter[] = "enable-media-router"; |
462 | 450 |
463 // Runs the Native Client inside the renderer process and enables GPU plugin | 451 // Runs the Native Client inside the renderer process and enables GPU plugin |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 | 1360 |
1373 // ----------------------------------------------------------------------------- | 1361 // ----------------------------------------------------------------------------- |
1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1362 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1375 // | 1363 // |
1376 // You were going to just dump your switches here, weren't you? Instead, please | 1364 // You were going to just dump your switches here, weren't you? Instead, please |
1377 // put them in alphabetical order above, or in order inside the appropriate | 1365 // put them in alphabetical order above, or in order inside the appropriate |
1378 // ifdef at the bottom. The order should match the header. | 1366 // ifdef at the bottom. The order should match the header. |
1379 // ----------------------------------------------------------------------------- | 1367 // ----------------------------------------------------------------------------- |
1380 | 1368 |
1381 } // namespace switches | 1369 } // namespace switches |
OLD | NEW |