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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; | 338 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; |
339 | 339 |
340 // Enable experimental canvas features, e.g. canvas 2D context attributes | 340 // Enable experimental canvas features, e.g. canvas 2D context attributes |
341 const char kEnableExperimentalCanvasFeatures[] = | 341 const char kEnableExperimentalCanvasFeatures[] = |
342 "enable-experimental-canvas-features"; | 342 "enable-experimental-canvas-features"; |
343 | 343 |
344 // Enables Web Platform features that are in development. | 344 // Enables Web Platform features that are in development. |
345 const char kEnableExperimentalWebPlatformFeatures[] = | 345 const char kEnableExperimentalWebPlatformFeatures[] = |
346 "enable-experimental-web-platform-features"; | 346 "enable-experimental-web-platform-features"; |
347 | 347 |
348 // By default, cookies are not allowed on file://. They are needed for testing, | |
349 // for example page cycler and layout tests. See bug 1157243. | |
350 const char kEnableFileCookies[] = "enable-file-cookies"; | |
351 | |
352 // Enables TRACE for GL calls in the renderer. | 348 // Enables TRACE for GL calls in the renderer. |
353 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 349 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
354 | 350 |
355 // Allow heuristics to determine when a layer tile should be drawn with the | 351 // Allow heuristics to determine when a layer tile should be drawn with the |
356 // Skia GPU backend. Only valid with GPU accelerated compositing + | 352 // Skia GPU backend. Only valid with GPU accelerated compositing + |
357 // impl-side painting. | 353 // impl-side painting. |
358 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 354 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
359 | 355 |
360 // When using CPU rasterizing generate low resolution tiling. Low res | 356 // When using CPU rasterizing generate low resolution tiling. Low res |
361 // tiles may be displayed during fast scrolls especially on slower devices. | 357 // tiles may be displayed during fast scrolls especially on slower devices. |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 const char kEnableNpapi[] = "enable-npapi"; | 977 const char kEnableNpapi[] = "enable-npapi"; |
982 | 978 |
983 #if defined(ENABLE_PLUGINS) | 979 #if defined(ENABLE_PLUGINS) |
984 // Enables the plugin power saver feature. | 980 // Enables the plugin power saver feature. |
985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 981 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
986 #endif | 982 #endif |
987 | 983 |
988 // Don't dump stuff here, follow the same order as the header. | 984 // Don't dump stuff here, follow the same order as the header. |
989 | 985 |
990 } // namespace switches | 986 } // namespace switches |
OLD | NEW |