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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 299 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
300 | 300 |
301 // Disable accelerated overflow scrolling in corner cases (that would not be | 301 // Disable accelerated overflow scrolling in corner cases (that would not be |
302 // handled by enable-accelerated-overflow-scroll). | 302 // handled by enable-accelerated-overflow-scroll). |
303 const char kDisableUniversalAcceleratedOverflowScroll[] = | 303 const char kDisableUniversalAcceleratedOverflowScroll[] = |
304 "disable-universal-accelerated-overflow-scroll"; | 304 "disable-universal-accelerated-overflow-scroll"; |
305 | 305 |
306 // Disable web audio API. | 306 // Disable web audio API. |
307 const char kDisableWebAudio[] = "disable-webaudio"; | 307 const char kDisableWebAudio[] = "disable-webaudio"; |
308 | 308 |
| 309 // Don't expose WEBGL_debug_renderer_info extension. |
| 310 const char kDisableWebGLDebugRendererInfo[] = |
| 311 "disable-webgl-debug-renderer-info"; |
| 312 |
309 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). | 313 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). |
310 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; | 314 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; |
311 | 315 |
312 // Disables unprefixed Media Source API (i.e., the MediaSource object). | 316 // Disables unprefixed Media Source API (i.e., the MediaSource object). |
313 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; | 317 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; |
314 | 318 |
315 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 319 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
316 const char kDisableWebSecurity[] = "disable-web-security"; | 320 const char kDisableWebSecurity[] = "disable-web-security"; |
317 | 321 |
318 // Disables support for XSLT. | 322 // Disables support for XSLT. |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 | 563 |
560 // Enable the Vtune profiler support. | 564 // Enable the Vtune profiler support. |
561 const char kEnableVtune[] = "enable-vtune-support"; | 565 const char kEnableVtune[] = "enable-vtune-support"; |
562 | 566 |
563 // Enable CSS Transitions / Animations on the Web Animations model. | 567 // Enable CSS Transitions / Animations on the Web Animations model. |
564 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; | 568 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
565 | 569 |
566 // Enable SVG Animations on the Web Animations model. | 570 // Enable SVG Animations on the Web Animations model. |
567 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; | 571 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; |
568 | 572 |
| 573 // Expose WEBGL_debug_renderer_info extension. |
| 574 const char kEnableWebGLDebugRendererInfo[] = |
| 575 "enable-webgl-debug-renderer-info"; |
| 576 |
569 // Enables WebGL extensions not yet approved by the community. | 577 // Enables WebGL extensions not yet approved by the community. |
570 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 578 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
571 | 579 |
572 // Enables Web MIDI API. | 580 // Enables Web MIDI API. |
573 const char kEnableWebMIDI[] = "enable-web-midi"; | 581 const char kEnableWebMIDI[] = "enable-web-midi"; |
574 | 582 |
575 // Load NPAPI plugins from the specified directory. | 583 // Load NPAPI plugins from the specified directory. |
576 const char kExtraPluginDir[] = "extra-plugin-dir"; | 584 const char kExtraPluginDir[] = "extra-plugin-dir"; |
577 | 585 |
578 // If accelerated compositing is supported, always enter compositing mode for | 586 // If accelerated compositing is supported, always enter compositing mode for |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 #endif | 998 #endif |
991 | 999 |
992 #if defined(USE_AURA) | 1000 #if defined(USE_AURA) |
993 // Forces usage of the test compositor. Needed to run ui tests on bots. | 1001 // Forces usage of the test compositor. Needed to run ui tests on bots. |
994 extern const char kTestCompositor[] = "test-compositor"; | 1002 extern const char kTestCompositor[] = "test-compositor"; |
995 #endif | 1003 #endif |
996 | 1004 |
997 // Don't dump stuff here, follow the same order as the header. | 1005 // Don't dump stuff here, follow the same order as the header. |
998 | 1006 |
999 } // namespace switches | 1007 } // namespace switches |
OLD | NEW |