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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 423 |
424 // Enable IPv6 support, even if probes suggest that it may not be fully | 424 // Enable IPv6 support, even if probes suggest that it may not be fully |
425 // supported. Some probes may require internet connections, and this flag will | 425 // supported. Some probes may require internet connections, and this flag will |
426 // allow support independent of application testing. | 426 // allow support independent of application testing. |
427 // This flag overrides "disable-ipv6" which appears elswhere in this file. | 427 // This flag overrides "disable-ipv6" which appears elswhere in this file. |
428 const char kEnableIPv6[] = "enable-ipv6"; | 428 const char kEnableIPv6[] = "enable-ipv6"; |
429 | 429 |
430 // Enable the GPU plugin and Pepper 3D rendering. | 430 // Enable the GPU plugin and Pepper 3D rendering. |
431 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; | 431 const char kEnableGPUPlugin[] = "enable-gpu-plugin"; |
432 | 432 |
433 // Enable experimental GPU rendering for backing store and video. | |
434 const char kEnableGPURendering[] = "enable-gpu-rendering"; | |
435 | |
436 // Force logging to be enabled. Logging is disabled by default in release | 433 // Force logging to be enabled. Logging is disabled by default in release |
437 // builds. | 434 // builds. |
438 const char kEnableLogging[] = "enable-logging"; | 435 const char kEnableLogging[] = "enable-logging"; |
439 | 436 |
440 // Allows reporting memory info (JS heap size) to page. | 437 // Allows reporting memory info (JS heap size) to page. |
441 const char kEnableMemoryInfo[] = "enable-memory-info"; | 438 const char kEnableMemoryInfo[] = "enable-memory-info"; |
442 | 439 |
443 // On Windows, converts the page to the currently-installed monitor profile. | 440 // On Windows, converts the page to the currently-installed monitor profile. |
444 // This does NOT enable color management for images. The source is still | 441 // This does NOT enable color management for images. The source is still |
445 // assumed to be sRGB. | 442 // assumed to be sRGB. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 const char kEnableVerbatimInstant[] = "enable-verbatim-instant"; | 517 const char kEnableVerbatimInstant[] = "enable-verbatim-instant"; |
521 | 518 |
522 // Enables the option to show tabs as a vertical stack down the side of the | 519 // Enables the option to show tabs as a vertical stack down the side of the |
523 // browser window. | 520 // browser window. |
524 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; | 521 const char kEnableVerticalTabs[] = "enable-vertical-tabs"; |
525 | 522 |
526 // Enables support for fullscreen video. Current implementation is | 523 // Enables support for fullscreen video. Current implementation is |
527 // incomplete and this flag is used for development and testing. | 524 // incomplete and this flag is used for development and testing. |
528 const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; | 525 const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; |
529 | 526 |
530 // Enables video layering where video is rendered as a separate layer outside | |
531 // of the backing store. | |
532 const char kEnableVideoLayering[] = "enable-video-layering"; | |
533 | |
534 // Enables video logging where video elements log playback performance data to | 527 // Enables video logging where video elements log playback performance data to |
535 // the debug log. | 528 // the debug log. |
536 const char kEnableVideoLogging[] = "enable-video-logging"; | 529 const char kEnableVideoLogging[] = "enable-video-logging"; |
537 | 530 |
538 // Spawn threads to watch for excessive delays in specified message loops. | 531 // Spawn threads to watch for excessive delays in specified message loops. |
539 // User should set breakpoints on Alarm() to examine problematic thread. | 532 // User should set breakpoints on Alarm() to examine problematic thread. |
540 // Usage: -enable-watchdog=[ui][io] | 533 // Usage: -enable-watchdog=[ui][io] |
541 // Order of the listed sub-arguments does not matter. | 534 // Order of the listed sub-arguments does not matter. |
542 const char kEnableWatchdog[] = "enable-watchdog"; | 535 const char kEnableWatchdog[] = "enable-watchdog"; |
543 | 536 |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 | 1264 |
1272 // ----------------------------------------------------------------------------- | 1265 // ----------------------------------------------------------------------------- |
1273 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1266 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1274 // | 1267 // |
1275 // You were going to just dump your switches here, weren't you? Instead, | 1268 // You were going to just dump your switches here, weren't you? Instead, |
1276 // please put them in alphabetical order above, or in order inside the | 1269 // please put them in alphabetical order above, or in order inside the |
1277 // appropriate ifdef at the bottom. The order should match the header. | 1270 // appropriate ifdef at the bottom. The order should match the header. |
1278 // ----------------------------------------------------------------------------- | 1271 // ----------------------------------------------------------------------------- |
1279 | 1272 |
1280 } // namespace switches | 1273 } // namespace switches |
OLD | NEW |