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