| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; | 335 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; |
| 336 | 336 |
| 337 // Enable experimental canvas features, e.g. canvas 2D context attributes | 337 // Enable experimental canvas features, e.g. canvas 2D context attributes |
| 338 const char kEnableExperimentalCanvasFeatures[] = | 338 const char kEnableExperimentalCanvasFeatures[] = |
| 339 "enable-experimental-canvas-features"; | 339 "enable-experimental-canvas-features"; |
| 340 | 340 |
| 341 // Enables Web Platform features that are in development. | 341 // Enables Web Platform features that are in development. |
| 342 const char kEnableExperimentalWebPlatformFeatures[] = | 342 const char kEnableExperimentalWebPlatformFeatures[] = |
| 343 "enable-experimental-web-platform-features"; | 343 "enable-experimental-web-platform-features"; |
| 344 | 344 |
| 345 // Enable Web Bluetooth. |
| 346 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; |
| 347 |
| 345 // Enables TRACE for GL calls in the renderer. | 348 // Enables TRACE for GL calls in the renderer. |
| 346 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 349 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
| 347 | 350 |
| 348 // 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 |
| 349 // Skia GPU backend. Only valid with GPU accelerated compositing + | 352 // Skia GPU backend. Only valid with GPU accelerated compositing + |
| 350 // impl-side painting. | 353 // impl-side painting. |
| 351 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 354 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
| 352 | 355 |
| 353 // When using CPU rasterizing generate low resolution tiling. Low res | 356 // When using CPU rasterizing generate low resolution tiling. Low res |
| 354 // tiles may be displayed during fast scrolls especially on slower devices. | 357 // tiles may be displayed during fast scrolls especially on slower devices. |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 // Windows Vista and later. | 990 // Windows Vista and later. |
| 988 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 991 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 989 #endif | 992 #endif |
| 990 | 993 |
| 991 // Enables the use of NPAPI plugins. | 994 // Enables the use of NPAPI plugins. |
| 992 const char kEnableNpapi[] = "enable-npapi"; | 995 const char kEnableNpapi[] = "enable-npapi"; |
| 993 | 996 |
| 994 // Don't dump stuff here, follow the same order as the header. | 997 // Don't dump stuff here, follow the same order as the header. |
| 995 | 998 |
| 996 } // namespace switches | 999 } // namespace switches |
| OLD | NEW |