| 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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 538 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
| 539 | 539 |
| 540 // Enable accelerated overflow scrolling in all cases. | 540 // Enable accelerated overflow scrolling in all cases. |
| 541 const char kEnableUniversalAcceleratedOverflowScroll[] = | 541 const char kEnableUniversalAcceleratedOverflowScroll[] = |
| 542 "enable-universal-accelerated-overflow-scroll"; | 542 "enable-universal-accelerated-overflow-scroll"; |
| 543 | 543 |
| 544 // Enable screen capturing support for MediaStream API. | 544 // Enable screen capturing support for MediaStream API. |
| 545 const char kEnableUserMediaScreenCapturing[] = | 545 const char kEnableUserMediaScreenCapturing[] = |
| 546 "enable-usermedia-screen-capturing"; | 546 "enable-usermedia-screen-capturing"; |
| 547 | 547 |
| 548 // Enables the use of the viewport meta tag, which allows | 548 // Enables the use of the @viewport CSS rule, which allows |
| 549 // pages to control aspects of their own layout. This also turns on touch-screen | 549 // pages to control aspects of their own layout. This also turns on touch-screen |
| 550 // pinch gestures. | 550 // pinch gestures. |
| 551 const char kEnableViewport[] = "enable-viewport"; | 551 const char kEnableViewport[] = "enable-viewport"; |
| 552 | 552 |
| 553 // Enables the use of the legacy viewport meta tag. Turning this on also |
| 554 // turns on the @viewport CSS rule |
| 555 const char kEnableViewportMeta[] = "enable-viewport-meta"; |
| 556 |
| 557 // Scales the viewport in response to resizing the view. When the view is |
| 558 // resized (i.e. Rotation on Android, window resize on desktop), the viewport |
| 559 // is rescaled so that it fills the view. |
| 560 const char kScaleViewportOnResize[] = "scale-viewport-on-resize"; |
| 561 |
| 553 // Enables moving cursor by word in visual order. | 562 // Enables moving cursor by word in visual order. |
| 554 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 563 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
| 555 | 564 |
| 556 // Enable the Vtune profiler support. | 565 // Enable the Vtune profiler support. |
| 557 const char kEnableVtune[] = "enable-vtune-support"; | 566 const char kEnableVtune[] = "enable-vtune-support"; |
| 558 | 567 |
| 559 // Enable CSS Transitions / Animations on the Web Animations model. | 568 // Enable CSS Transitions / Animations on the Web Animations model. |
| 560 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; | 569 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
| 561 | 570 |
| 562 // Enable SVG Animations on the Web Animations model. | 571 // Enable SVG Animations on the Web Animations model. |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 #endif | 995 #endif |
| 987 | 996 |
| 988 #if defined(USE_AURA) | 997 #if defined(USE_AURA) |
| 989 // Forces usage of the test compositor. Needed to run ui tests on bots. | 998 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 990 extern const char kTestCompositor[] = "test-compositor"; | 999 extern const char kTestCompositor[] = "test-compositor"; |
| 991 #endif | 1000 #endif |
| 992 | 1001 |
| 993 // Don't dump stuff here, follow the same order as the header. | 1002 // Don't dump stuff here, follow the same order as the header. |
| 994 | 1003 |
| 995 } // namespace switches | 1004 } // namespace switches |
| OLD | NEW |