| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 // Enable tracing during the execution of browser tests. | 432 // Enable tracing during the execution of browser tests. |
| 433 const char kEnableTracing[] = "enable-tracing"; | 433 const char kEnableTracing[] = "enable-tracing"; |
| 434 | 434 |
| 435 // The filename to write the output of the test tracing to. | 435 // The filename to write the output of the test tracing to. |
| 436 const char kEnableTracingOutput[] = "enable-tracing-output"; | 436 const char kEnableTracingOutput[] = "enable-tracing-output"; |
| 437 | 437 |
| 438 // Enable screen capturing support for MediaStream API. | 438 // Enable screen capturing support for MediaStream API. |
| 439 const char kEnableUserMediaScreenCapturing[] = | 439 const char kEnableUserMediaScreenCapturing[] = |
| 440 "enable-usermedia-screen-capturing"; | 440 "enable-usermedia-screen-capturing"; |
| 441 | 441 |
| 442 // Enables streaming scripts to V8 while loading. | |
| 443 const char kEnableV8ScriptStreaming[] = "enable-v8-script-streaming"; | |
| 444 | |
| 445 // Enables the use of the @viewport CSS rule, which allows | 442 // Enables the use of the @viewport CSS rule, which allows |
| 446 // pages to control aspects of their own layout. This also turns on touch-screen | 443 // pages to control aspects of their own layout. This also turns on touch-screen |
| 447 // pinch gestures. | 444 // pinch gestures. |
| 448 const char kEnableViewport[] = "enable-viewport"; | 445 const char kEnableViewport[] = "enable-viewport"; |
| 449 | 446 |
| 450 // Enables the viewport meta tag, the de facto way to control layout which works | 447 // Enables the viewport meta tag, the de facto way to control layout which works |
| 451 // only on mobile browsers. | 448 // only on mobile browsers. |
| 452 const char kEnableViewportMeta[] = "enable-viewport-meta"; | 449 const char kEnableViewportMeta[] = "enable-viewport-meta"; |
| 453 | 450 |
| 454 // Resizes of the main frame are the caused by changing between landscape | 451 // Resizes of the main frame are the caused by changing between landscape |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 const char kEnableNpapi[] = "enable-npapi"; | 955 const char kEnableNpapi[] = "enable-npapi"; |
| 959 | 956 |
| 960 #if defined(ENABLE_PLUGINS) | 957 #if defined(ENABLE_PLUGINS) |
| 961 // Enables the plugin power saver feature. | 958 // Enables the plugin power saver feature. |
| 962 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 959 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 963 #endif | 960 #endif |
| 964 | 961 |
| 965 // Don't dump stuff here, follow the same order as the header. | 962 // Don't dump stuff here, follow the same order as the header. |
| 966 | 963 |
| 967 } // namespace switches | 964 } // namespace switches |
| OLD | NEW |