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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 // 3. Disabled always. | 333 // 3. Disabled always. |
334 const char kEnableCompositingForTransition[] = | 334 const char kEnableCompositingForTransition[] = |
335 "enable-transition-compositing"; | 335 "enable-transition-compositing"; |
336 | 336 |
337 // Defer image decoding in WebKit until painting. | 337 // Defer image decoding in WebKit until painting. |
338 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 338 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
339 | 339 |
340 // Enables delegated renderer. | 340 // Enables delegated renderer. |
341 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 341 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
342 | 342 |
343 // Enables display list based 2d canvas implementation. | 343 // Enables display list based 2d canvas implementation. Options: |
| 344 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
| 345 // decision). |
| 346 // 2. Force: browser always uses display list for 2d canvas. |
344 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 347 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
345 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 348 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
| 349 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
346 | 350 |
347 // Enables restarting interrupted downloads. | 351 // Enables restarting interrupted downloads. |
348 const char kEnableDownloadResumption[] = "enable-download-resumption"; | 352 const char kEnableDownloadResumption[] = "enable-download-resumption"; |
349 | 353 |
350 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). | 354 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). |
351 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 355 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
352 | 356 |
353 // Enable experimental canvas features, e.g. canvas 2D context attributes | 357 // Enable experimental canvas features, e.g. canvas 2D context attributes |
354 const char kEnableExperimentalCanvasFeatures[] = | 358 const char kEnableExperimentalCanvasFeatures[] = |
355 "enable-experimental-canvas-features"; | 359 "enable-experimental-canvas-features"; |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 #endif | 982 #endif |
979 | 983 |
980 #if defined(ENABLE_PLUGINS) | 984 #if defined(ENABLE_PLUGINS) |
981 // Enables the plugin power saver feature. | 985 // Enables the plugin power saver feature. |
982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 986 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
983 #endif | 987 #endif |
984 | 988 |
985 // Don't dump stuff here, follow the same order as the header. | 989 // Don't dump stuff here, follow the same order as the header. |
986 | 990 |
987 } // namespace switches | 991 } // namespace switches |
OLD | NEW |