| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 // Allow heuristics to determine when a layer tile should be drawn with the | 362 // Allow heuristics to determine when a layer tile should be drawn with the |
| 363 // Skia GPU backend. Only valid with GPU accelerated compositing + | 363 // Skia GPU backend. Only valid with GPU accelerated compositing + |
| 364 // impl-side painting. | 364 // impl-side painting. |
| 365 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 365 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
| 366 | 366 |
| 367 // When using CPU rasterizing generate low resolution tiling. Low res | 367 // When using CPU rasterizing generate low resolution tiling. Low res |
| 368 // tiles may be displayed during fast scrolls especially on slower devices. | 368 // tiles may be displayed during fast scrolls especially on slower devices. |
| 369 const char kEnableLowResTiling[] = "enable-low-res-tiling"; | 369 const char kEnableLowResTiling[] = "enable-low-res-tiling"; |
| 370 | 370 |
| 371 // Dynamically apply color profiles to web content images. |
| 372 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; |
| 373 |
| 371 // Paint content on the compositor thread instead of the main thread. | 374 // Paint content on the compositor thread instead of the main thread. |
| 372 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; | 375 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; |
| 373 | 376 |
| 374 // Force logging to be enabled. Logging is disabled by default in release | 377 // Force logging to be enabled. Logging is disabled by default in release |
| 375 // builds. | 378 // builds. |
| 376 const char kEnableLogging[] = "enable-logging"; | 379 const char kEnableLogging[] = "enable-logging"; |
| 377 | 380 |
| 378 // Enables the memory benchmarking extension | 381 // Enables the memory benchmarking extension |
| 379 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; | 382 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; |
| 380 | 383 |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 #endif | 960 #endif |
| 958 | 961 |
| 959 #if defined(ENABLE_PLUGINS) | 962 #if defined(ENABLE_PLUGINS) |
| 960 // Enables the plugin power saver feature. | 963 // Enables the plugin power saver feature. |
| 961 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 964 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 962 #endif | 965 #endif |
| 963 | 966 |
| 964 // Don't dump stuff here, follow the same order as the header. | 967 // Don't dump stuff here, follow the same order as the header. |
| 965 | 968 |
| 966 } // namespace switches | 969 } // namespace switches |
| OLD | NEW |