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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "disable-navigator-content-utils"; | 137 "disable-navigator-content-utils"; |
138 | 138 |
139 // Handles URL requests by NPAPI plugins through the renderer. | 139 // Handles URL requests by NPAPI plugins through the renderer. |
140 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; | 140 const char kDisableDirectNPAPIRequests[] = "disable-direct-npapi-requests"; |
141 | 141 |
142 // Disable the per-domain blocking for 3D APIs after GPU reset. | 142 // Disable the per-domain blocking for 3D APIs after GPU reset. |
143 // This switch is intended only for tests. | 143 // This switch is intended only for tests. |
144 extern const char kDisableDomainBlockingFor3DAPIs[] = | 144 extern const char kDisableDomainBlockingFor3DAPIs[] = |
145 "disable-domain-blocking-for-3d-apis"; | 145 "disable-domain-blocking-for-3d-apis"; |
146 | 146 |
| 147 // Disable running the SharedWorker inside the renderer process. |
| 148 const char kDisableEmbeddedSharedWorker[] = "disable-embedded-shared-worker"; |
| 149 |
147 // Disable experimental WebGL support. | 150 // Disable experimental WebGL support. |
148 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 151 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
149 | 152 |
150 // Disable the fast text autosizing implementation. | 153 // Disable the fast text autosizing implementation. |
151 const char kDisableFastTextAutosizing[] = "disable-fast-text-autosizing"; | 154 const char kDisableFastTextAutosizing[] = "disable-fast-text-autosizing"; |
152 | 155 |
153 // Disable FileSystem API. | 156 // Disable FileSystem API. |
154 const char kDisableFileSystem[] = "disable-file-system"; | 157 const char kDisableFileSystem[] = "disable-file-system"; |
155 | 158 |
156 // Disables sending filters (SkImageFilter objects) between processes over IPC | 159 // Disables sending filters (SkImageFilter objects) between processes over IPC |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 390 |
388 // Defer image decoding in WebKit until painting. | 391 // Defer image decoding in WebKit until painting. |
389 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 392 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
390 | 393 |
391 // Enables delegated renderer. | 394 // Enables delegated renderer. |
392 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 395 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
393 | 396 |
394 // Enables restarting interrupted downloads. | 397 // Enables restarting interrupted downloads. |
395 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 398 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
396 | 399 |
397 // Enables running the SharedWorker inside the renderer process. | |
398 const char kEnableEmbeddedSharedWorker[] = "enable-embedded-shared-worker"; | |
399 | |
400 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). | 400 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). |
401 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 401 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
402 | 402 |
403 // Enable experimental canvas features, e.g. canvas 2D context attributes | 403 // Enable experimental canvas features, e.g. canvas 2D context attributes |
404 const char kEnableExperimentalCanvasFeatures[] = | 404 const char kEnableExperimentalCanvasFeatures[] = |
405 "enable-experimental-canvas-features"; | 405 "enable-experimental-canvas-features"; |
406 | 406 |
407 // Enables Web Platform features that are in development. | 407 // Enables Web Platform features that are in development. |
408 const char kEnableExperimentalWebPlatformFeatures[] = | 408 const char kEnableExperimentalWebPlatformFeatures[] = |
409 "enable-experimental-web-platform-features"; | 409 "enable-experimental-web-platform-features"; |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 | 1028 |
1029 // Disables support for Core Animation plugins. This is triggered when | 1029 // Disables support for Core Animation plugins. This is triggered when |
1030 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1030 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1031 const char kDisableCoreAnimationPlugins[] = | 1031 const char kDisableCoreAnimationPlugins[] = |
1032 "disable-core-animation-plugins"; | 1032 "disable-core-animation-plugins"; |
1033 #endif | 1033 #endif |
1034 | 1034 |
1035 // Don't dump stuff here, follow the same order as the header. | 1035 // Don't dump stuff here, follow the same order as the header. |
1036 | 1036 |
1037 } // namespace switches | 1037 } // namespace switches |
OLD | NEW |