| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 330 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 331 | 331 |
| 332 // Enables display list based 2d canvas implementation. Options: | 332 // Enables display list based 2d canvas implementation. Options: |
| 333 // 1. Enable: allow browser to use display list for 2d canvas (browser makes | 333 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
| 334 // decision). | 334 // decision). |
| 335 // 2. Force: browser always uses display list for 2d canvas. | 335 // 2. Force: browser always uses display list for 2d canvas. |
| 336 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 336 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
| 337 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 337 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
| 338 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 338 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
| 339 | 339 |
| 340 // Enables restarting interrupted downloads. | |
| 341 const char kEnableDownloadResumption[] = "enable-download-resumption"; | |
| 342 | |
| 343 // Disables (unprefixed) Encrypted Media Extensions. | 340 // Disables (unprefixed) Encrypted Media Extensions. |
| 344 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; | 341 const char kDisableEncryptedMedia[] = "disable-encrypted-media"; |
| 345 | 342 |
| 346 // Enable experimental canvas features, e.g. canvas 2D context attributes | 343 // Enable experimental canvas features, e.g. canvas 2D context attributes |
| 347 const char kEnableExperimentalCanvasFeatures[] = | 344 const char kEnableExperimentalCanvasFeatures[] = |
| 348 "enable-experimental-canvas-features"; | 345 "enable-experimental-canvas-features"; |
| 349 | 346 |
| 350 // Enables Web Platform features that are in development. | 347 // Enables Web Platform features that are in development. |
| 351 const char kEnableExperimentalWebPlatformFeatures[] = | 348 const char kEnableExperimentalWebPlatformFeatures[] = |
| 352 "enable-experimental-web-platform-features"; | 349 "enable-experimental-web-platform-features"; |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 994 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 998 | 995 |
| 999 // Enables the exporting of the tracing events to ETW. This is only supported on | 996 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1000 // Windows Vista and later. | 997 // Windows Vista and later. |
| 1001 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 998 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1002 #endif | 999 #endif |
| 1003 | 1000 |
| 1004 // Don't dump stuff here, follow the same order as the header. | 1001 // Don't dump stuff here, follow the same order as the header. |
| 1005 | 1002 |
| 1006 } // namespace switches | 1003 } // namespace switches |
| OLD | NEW |