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 kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 299 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
300 | 300 |
301 // Disables the threaded HTML parser in Blink | 301 // Disables the threaded HTML parser in Blink |
302 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 302 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
303 | 303 |
304 // Disable accelerated overflow scrolling in corner cases (that would not be | 304 // Disable accelerated overflow scrolling in corner cases (that would not be |
305 // handled by enable-accelerated-overflow-scroll). | 305 // handled by enable-accelerated-overflow-scroll). |
306 const char kDisableUniversalAcceleratedOverflowScroll[] = | 306 const char kDisableUniversalAcceleratedOverflowScroll[] = |
307 "disable-universal-accelerated-overflow-scroll"; | 307 "disable-universal-accelerated-overflow-scroll"; |
308 | 308 |
| 309 // Disables unprefixed Media Source API (i.e., the MediaSource object). |
| 310 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; |
| 311 |
| 312 // Disable CSS Transitions / Animations on the Web Animations model. |
| 313 const char kDisableWebAnimationsCSS[] = "disable-web-animations-css"; |
| 314 |
309 // Disable web audio API. | 315 // Disable web audio API. |
310 const char kDisableWebAudio[] = "disable-webaudio"; | 316 const char kDisableWebAudio[] = "disable-webaudio"; |
311 | 317 |
312 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). | 318 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). |
313 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; | 319 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; |
314 | 320 |
315 // Disables unprefixed Media Source API (i.e., the MediaSource object). | |
316 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; | |
317 | |
318 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 321 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
319 const char kDisableWebSecurity[] = "disable-web-security"; | 322 const char kDisableWebSecurity[] = "disable-web-security"; |
320 | 323 |
321 // Disables support for XSLT. | 324 // Disables support for XSLT. |
322 const char kDisableXSLT[] = "disable-xslt"; | 325 const char kDisableXSLT[] = "disable-xslt"; |
323 | 326 |
324 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 327 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
325 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 328 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
326 | 329 |
327 // Specifies if the |DOMAutomationController| needs to be bound in the | 330 // Specifies if the |DOMAutomationController| needs to be bound in the |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 #endif | 1008 #endif |
1006 | 1009 |
1007 #if defined(OS_POSIX) | 1010 #if defined(OS_POSIX) |
1008 // Causes the child processes to cleanly exit via calling exit(). | 1011 // Causes the child processes to cleanly exit via calling exit(). |
1009 const char kChildCleanExit[] = "child-clean-exit"; | 1012 const char kChildCleanExit[] = "child-clean-exit"; |
1010 #endif | 1013 #endif |
1011 | 1014 |
1012 // Don't dump stuff here, follow the same order as the header. | 1015 // Don't dump stuff here, follow the same order as the header. |
1013 | 1016 |
1014 } // namespace switches | 1017 } // namespace switches |
OLD | NEW |