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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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). | 309 // Disables unprefixed Media Source API (i.e., the MediaSource object). |
310 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; | 310 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; |
311 | 311 |
312 // Disable CSS Transitions / Animations on the Web Animations model. | 312 // Disable CSS Transitions / Animations on the Web Animations model. |
313 const char kDisableWebAnimationsCSS[] = "disable-web-animations-css"; | 313 const char kDisableWebAnimationsCSS[] = "disable-web-animations-css"; |
314 | 314 |
315 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) | |
jam
2013/11/25 16:35:52
ditto
| |
316 const char kEnableWebAudio[] = "enable-webaudio"; | |
317 #else | |
315 // Disable web audio API. | 318 // Disable web audio API. |
316 const char kDisableWebAudio[] = "disable-webaudio"; | 319 const char kDisableWebAudio[] = "disable-webaudio"; |
320 #endif | |
317 | 321 |
318 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). | 322 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). |
319 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; | 323 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; |
320 | 324 |
321 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 325 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
322 const char kDisableWebSecurity[] = "disable-web-security"; | 326 const char kDisableWebSecurity[] = "disable-web-security"; |
323 | 327 |
324 // Disables support for XSLT. | 328 // Disables support for XSLT. |
325 const char kDisableXSLT[] = "disable-xslt"; | 329 const char kDisableXSLT[] = "disable-xslt"; |
326 | 330 |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1008 #endif | 1012 #endif |
1009 | 1013 |
1010 #if defined(OS_POSIX) | 1014 #if defined(OS_POSIX) |
1011 // Causes the child processes to cleanly exit via calling exit(). | 1015 // Causes the child processes to cleanly exit via calling exit(). |
1012 const char kChildCleanExit[] = "child-clean-exit"; | 1016 const char kChildCleanExit[] = "child-clean-exit"; |
1013 #endif | 1017 #endif |
1014 | 1018 |
1015 // Don't dump stuff here, follow the same order as the header. | 1019 // Don't dump stuff here, follow the same order as the header. |
1016 | 1020 |
1017 } // namespace switches | 1021 } // namespace switches |
OLD | NEW |