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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 // Disable False Start in SSL and TLS connections. | 283 // Disable False Start in SSL and TLS connections. |
284 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 284 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
285 | 285 |
286 // Disable multithreaded GPU compositing of web content. | 286 // Disable multithreaded GPU compositing of web content. |
287 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 287 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
288 | 288 |
289 // Disables the threaded HTML parser in Blink | 289 // Disables the threaded HTML parser in Blink |
290 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 290 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
291 | 291 |
| 292 // Disable accelerated overflow scrolling in corner cases (that would not be |
| 293 // handled by enable-accelerated-overflow-scroll). |
| 294 const char kDisableUniversalAcceleratedOverflowScroll[] = |
| 295 "disable-universal-accelerated-overflow-scroll"; |
| 296 |
292 // Disable web audio API. | 297 // Disable web audio API. |
293 const char kDisableWebAudio[] = "disable-webaudio"; | 298 const char kDisableWebAudio[] = "disable-webaudio"; |
294 | 299 |
295 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). | 300 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). |
296 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; | 301 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; |
297 | 302 |
298 // Disables unprefixed Media Source API (i.e., the MediaSource object). | 303 // Disables unprefixed Media Source API (i.e., the MediaSource object). |
299 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; | 304 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; |
300 | 305 |
301 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 306 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 // SYN packet. | 535 // SYN packet. |
531 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 536 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
532 | 537 |
533 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This | 538 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This |
534 // flag is ignored on Metro environment. | 539 // flag is ignored on Metro environment. |
535 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; | 540 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; |
536 | 541 |
537 // Enable multithreaded GPU compositing of web content. | 542 // Enable multithreaded GPU compositing of web content. |
538 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 543 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
539 | 544 |
| 545 // Enable accelerated overflow scrolling in all cases. |
| 546 const char kEnableUniversalAcceleratedOverflowScroll[] = |
| 547 "enable-universal-accelerated-overflow-scroll"; |
| 548 |
540 // Enable screen capturing support for MediaStream API. | 549 // Enable screen capturing support for MediaStream API. |
541 const char kEnableUserMediaScreenCapturing[] = | 550 const char kEnableUserMediaScreenCapturing[] = |
542 "enable-usermedia-screen-capturing"; | 551 "enable-usermedia-screen-capturing"; |
543 | 552 |
544 // Enables the use of the viewport meta tag, which allows | 553 // Enables the use of the viewport meta tag, which allows |
545 // pages to control aspects of their own layout. This also turns on touch-screen | 554 // pages to control aspects of their own layout. This also turns on touch-screen |
546 // pinch gestures. | 555 // pinch gestures. |
547 const char kEnableViewport[] = "enable-viewport"; | 556 const char kEnableViewport[] = "enable-viewport"; |
548 | 557 |
549 // Enables moving cursor by word in visual order. | 558 // Enables moving cursor by word in visual order. |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 #endif | 991 #endif |
983 | 992 |
984 #if defined(USE_AURA) | 993 #if defined(USE_AURA) |
985 // Forces usage of the test compositor. Needed to run ui tests on bots. | 994 // Forces usage of the test compositor. Needed to run ui tests on bots. |
986 extern const char kTestCompositor[] = "test-compositor"; | 995 extern const char kTestCompositor[] = "test-compositor"; |
987 #endif | 996 #endif |
988 | 997 |
989 // Don't dump stuff here, follow the same order as the header. | 998 // Don't dump stuff here, follow the same order as the header. |
990 | 999 |
991 } // namespace switches | 1000 } // namespace switches |
OLD | NEW |