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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 274 |
275 // Disable False Start in SSL and TLS connections. | 275 // Disable False Start in SSL and TLS connections. |
276 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 276 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
277 | 277 |
278 // Disable multithreaded GPU compositing of web content. | 278 // Disable multithreaded GPU compositing of web content. |
279 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 279 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
280 | 280 |
281 // Disables the threaded HTML parser in Blink | 281 // Disables the threaded HTML parser in Blink |
282 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; | 282 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; |
283 | 283 |
284 // Disable accelerated overflow scrolling in corner cases (that would not be | |
285 // handled by enable-accelerated-overflow-scroll). | |
286 const char kDisableUniversalAcceleratedOverflowScroll[] = | |
287 "disable-universal-accelerated-overflow-scroll"; | |
288 | |
289 // Disable web audio API. | 284 // Disable web audio API. |
290 const char kDisableWebAudio[] = "disable-webaudio"; | 285 const char kDisableWebAudio[] = "disable-webaudio"; |
291 | 286 |
292 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). | 287 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). |
293 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; | 288 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; |
294 | 289 |
295 // Disables unprefixed Media Source API (i.e., the MediaSource object). | 290 // Disables unprefixed Media Source API (i.e., the MediaSource object). |
296 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; | 291 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; |
297 | 292 |
298 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 293 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 // SYN packet. | 519 // SYN packet. |
525 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 520 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
526 | 521 |
527 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This | 522 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This |
528 // flag is ignored on Metro environment. | 523 // flag is ignored on Metro environment. |
529 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; | 524 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; |
530 | 525 |
531 // Enable multithreaded GPU compositing of web content. | 526 // Enable multithreaded GPU compositing of web content. |
532 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 527 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
533 | 528 |
534 // Enable accelerated overflow scrolling in all cases. | |
535 const char kEnableUniversalAcceleratedOverflowScroll[] = | |
536 "enable-universal-accelerated-overflow-scroll"; | |
537 | |
538 // Enable screen capturing support for MediaStream API. | 529 // Enable screen capturing support for MediaStream API. |
539 const char kEnableUserMediaScreenCapturing[] = | 530 const char kEnableUserMediaScreenCapturing[] = |
540 "enable-usermedia-screen-capturing"; | 531 "enable-usermedia-screen-capturing"; |
541 | 532 |
542 // Enables the use of the viewport meta tag, which allows | 533 // Enables the use of the viewport meta tag, which allows |
543 // pages to control aspects of their own layout. This also turns on touch-screen | 534 // pages to control aspects of their own layout. This also turns on touch-screen |
544 // pinch gestures. | 535 // pinch gestures. |
545 const char kEnableViewport[] = "enable-viewport"; | 536 const char kEnableViewport[] = "enable-viewport"; |
546 | 537 |
547 // Enables moving cursor by word in visual order. | 538 // Enables moving cursor by word in visual order. |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 #endif | 975 #endif |
985 | 976 |
986 #if defined(USE_AURA) | 977 #if defined(USE_AURA) |
987 // Forces usage of the test compositor. Needed to run ui tests on bots. | 978 // Forces usage of the test compositor. Needed to run ui tests on bots. |
988 extern const char kTestCompositor[] = "test-compositor"; | 979 extern const char kTestCompositor[] = "test-compositor"; |
989 #endif | 980 #endif |
990 | 981 |
991 // Don't dump stuff here, follow the same order as the header. | 982 // Don't dump stuff here, follow the same order as the header. |
992 | 983 |
993 } // namespace switches | 984 } // namespace switches |
OLD | NEW |