Chromium Code Reviews| 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 471 // Enables support for inband text tracks in media content. | 471 // Enables support for inband text tracks in media content. |
| 472 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; | 472 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
| 473 | 473 |
| 474 // Force logging to be enabled. Logging is disabled by default in release | 474 // Force logging to be enabled. Logging is disabled by default in release |
| 475 // builds. | 475 // builds. |
| 476 const char kEnableLogging[] = "enable-logging"; | 476 const char kEnableLogging[] = "enable-logging"; |
| 477 | 477 |
| 478 // Enables the memory benchmarking extension | 478 // Enables the memory benchmarking extension |
| 479 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 479 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| 480 | 480 |
| 481 // Make the values returned to window.performance.memory more granular and more | |
| 482 // up to date. Without this flag, the memory information is still available, but | |
| 483 // it is bucketized and updated less frequently. | |
| 484 const char kEnableMemoryInfo[] = "enable-memory-info"; | |
|
kinuko
2014/02/28 05:26:12
If you think kEnableMemoryInfo switch should live
| |
| 485 | |
| 481 // On Windows, converts the page to the currently-installed monitor profile. | 486 // On Windows, converts the page to the currently-installed monitor profile. |
| 482 // This does NOT enable color management for images. The source is still | 487 // This does NOT enable color management for images. The source is still |
| 483 // assumed to be sRGB. | 488 // assumed to be sRGB. |
| 484 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 489 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 485 | 490 |
| 486 // Enables use of cache if offline, even if it's stale | 491 // Enables use of cache if offline, even if it's stale |
| 487 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 492 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 488 | 493 |
| 489 // Enables use of hardware overlay for fullscreen video playback. Android only. | 494 // Enables use of hardware overlay for fullscreen video playback. Android only. |
| 490 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 495 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1049 #endif | 1054 #endif |
| 1050 | 1055 |
| 1051 #if defined(OS_POSIX) | 1056 #if defined(OS_POSIX) |
| 1052 // Causes the child processes to cleanly exit via calling exit(). | 1057 // Causes the child processes to cleanly exit via calling exit(). |
| 1053 const char kChildCleanExit[] = "child-clean-exit"; | 1058 const char kChildCleanExit[] = "child-clean-exit"; |
| 1054 #endif | 1059 #endif |
| 1055 | 1060 |
| 1056 // Don't dump stuff here, follow the same order as the header. | 1061 // Don't dump stuff here, follow the same order as the header. |
| 1057 | 1062 |
| 1058 } // namespace switches | 1063 } // namespace switches |
| OLD | NEW |