| 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 | 442 |
| 443 // Force logging to be enabled. Logging is disabled by default in release | 443 // Force logging to be enabled. Logging is disabled by default in release |
| 444 // builds. | 444 // builds. |
| 445 const char kEnableLogging[] = "enable-logging"; | 445 const char kEnableLogging[] = "enable-logging"; |
| 446 | 446 |
| 447 // Enables the memory benchmarking extension | 447 // Enables the memory benchmarking extension |
| 448 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 448 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| 449 | 449 |
| 450 // Make the values returned to window.performance.memory more granular and more | 450 // Make the values returned to window.performance.memory more granular and more |
| 451 // up to date in shared worker. Without this flag, the memory information is | 451 // up to date in shared worker. Without this flag, the memory information is |
| 452 // still available, but it is bucketized and updated less frequently. | 452 // still available, but it is bucketized and updated less frequently. This flag |
| 453 const char kEnableSharedWorkerMemoryInfo[] = | 453 // also applys to workers. |
| 454 "enable-shared-worker-memory-info"; | 454 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
| 455 | 455 |
| 456 // On Windows, converts the page to the currently-installed monitor profile. | 456 // On Windows, converts the page to the currently-installed monitor profile. |
| 457 // This does NOT enable color management for images. The source is still | 457 // This does NOT enable color management for images. The source is still |
| 458 // assumed to be sRGB. | 458 // assumed to be sRGB. |
| 459 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 459 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 460 | 460 |
| 461 // Enables use of cache if offline, even if it's stale | 461 // Enables use of cache if offline, even if it's stale |
| 462 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 462 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 463 | 463 |
| 464 // Enable rasterizer that writes directly to GPU memory. | 464 // Enable rasterizer that writes directly to GPU memory. |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 | 1013 |
| 1014 // Disables support for Core Animation plugins. This is triggered when | 1014 // Disables support for Core Animation plugins. This is triggered when |
| 1015 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1015 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1016 const char kDisableCoreAnimationPlugins[] = | 1016 const char kDisableCoreAnimationPlugins[] = |
| 1017 "disable-core-animation-plugins"; | 1017 "disable-core-animation-plugins"; |
| 1018 #endif | 1018 #endif |
| 1019 | 1019 |
| 1020 // Don't dump stuff here, follow the same order as the header. | 1020 // Don't dump stuff here, follow the same order as the header. |
| 1021 | 1021 |
| 1022 } // namespace switches | 1022 } // namespace switches |
| OLD | NEW |