| 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 // Force logging to be enabled. Logging is disabled by default in release | 472 // Force logging to be enabled. Logging is disabled by default in release |
| 473 // builds. | 473 // builds. |
| 474 const char kEnableLogging[] = "enable-logging"; | 474 const char kEnableLogging[] = "enable-logging"; |
| 475 | 475 |
| 476 // Enable rasterizer that writes directly to GPU memory. | 476 // Enable rasterizer that writes directly to GPU memory. |
| 477 const char kEnableMapImage[] = "enable-map-image"; | 477 const char kEnableMapImage[] = "enable-map-image"; |
| 478 | 478 |
| 479 // Enables the memory benchmarking extension | 479 // Enables the memory benchmarking extension |
| 480 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 480 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| 481 | 481 |
| 482 // Make the values returned to window.performance.memory more granular and more |
| 483 // up to date. Without this flag, the memory information is still available, but |
| 484 // it is bucketized and updated less frequently. |
| 485 const char kEnableMemoryInfo[] = "enable-memory-info"; |
| 486 |
| 482 // On Windows, converts the page to the currently-installed monitor profile. | 487 // On Windows, converts the page to the currently-installed monitor profile. |
| 483 // This does NOT enable color management for images. The source is still | 488 // This does NOT enable color management for images. The source is still |
| 484 // assumed to be sRGB. | 489 // assumed to be sRGB. |
| 485 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 490 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 486 | 491 |
| 487 // Enables use of cache if offline, even if it's stale | 492 // Enables use of cache if offline, even if it's stale |
| 488 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 493 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 489 | 494 |
| 490 // Enables use of hardware overlay for fullscreen video playback. Android only. | 495 // Enables use of hardware overlay for fullscreen video playback. Android only. |
| 491 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 496 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 | 1038 |
| 1034 // Disables support for Core Animation plugins. This is triggered when | 1039 // Disables support for Core Animation plugins. This is triggered when |
| 1035 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1040 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1036 const char kDisableCoreAnimationPlugins[] = | 1041 const char kDisableCoreAnimationPlugins[] = |
| 1037 "disable-core-animation-plugins"; | 1042 "disable-core-animation-plugins"; |
| 1038 #endif | 1043 #endif |
| 1039 | 1044 |
| 1040 // Don't dump stuff here, follow the same order as the header. | 1045 // Don't dump stuff here, follow the same order as the header. |
| 1041 | 1046 |
| 1042 } // namespace switches | 1047 } // namespace switches |
| OLD | NEW |