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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 546 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
547 | 547 |
548 // Enable accelerated overflow scrolling in all cases. | 548 // Enable accelerated overflow scrolling in all cases. |
549 const char kEnableUniversalAcceleratedOverflowScroll[] = | 549 const char kEnableUniversalAcceleratedOverflowScroll[] = |
550 "enable-universal-accelerated-overflow-scroll"; | 550 "enable-universal-accelerated-overflow-scroll"; |
551 | 551 |
552 // Enable screen capturing support for MediaStream API. | 552 // Enable screen capturing support for MediaStream API. |
553 const char kEnableUserMediaScreenCapturing[] = | 553 const char kEnableUserMediaScreenCapturing[] = |
554 "enable-usermedia-screen-capturing"; | 554 "enable-usermedia-screen-capturing"; |
555 | 555 |
556 // Enables the use of the viewport meta tag, which allows | 556 // Enables the use of the @viewport CSS rule, which allows |
557 // pages to control aspects of their own layout. This also turns on touch-screen | 557 // pages to control aspects of their own layout. This also turns on touch-screen |
558 // pinch gestures. | 558 // pinch gestures. |
559 const char kEnableViewport[] = "enable-viewport"; | 559 const char kEnableViewport[] = "enable-viewport"; |
560 | 560 |
| 561 // Enables the use of the legacy viewport meta tag. Turning this on also |
| 562 // turns on the @viewport CSS rule |
| 563 const char kEnableViewportMeta[] = "enable-viewport-meta"; |
| 564 |
| 565 // Resizes of the main frame are the caused by changing between landscape |
| 566 // and portrait mode (i.e. Android) so the page should be rescaled to fit |
| 567 const char kMainFrameResizesAreOrientationChanges[] = |
| 568 "main-frame-resizes-are-orientation-changes"; |
| 569 |
561 // Enables moving cursor by word in visual order. | 570 // Enables moving cursor by word in visual order. |
562 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; | 571 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; |
563 | 572 |
564 // Enable the Vtune profiler support. | 573 // Enable the Vtune profiler support. |
565 const char kEnableVtune[] = "enable-vtune-support"; | 574 const char kEnableVtune[] = "enable-vtune-support"; |
566 | 575 |
567 // Enable CSS Transitions / Animations on the Web Animations model. | 576 // Enable CSS Transitions / Animations on the Web Animations model. |
568 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; | 577 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
569 | 578 |
570 // Enable SVG Animations on the Web Animations model. | 579 // Enable SVG Animations on the Web Animations model. |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 #endif | 999 #endif |
991 | 1000 |
992 #if defined(OS_POSIX) | 1001 #if defined(OS_POSIX) |
993 // Causes the child processes to cleanly exit via calling exit(). | 1002 // Causes the child processes to cleanly exit via calling exit(). |
994 const char kChildCleanExit[] = "child-clean-exit"; | 1003 const char kChildCleanExit[] = "child-clean-exit"; |
995 #endif | 1004 #endif |
996 | 1005 |
997 // Don't dump stuff here, follow the same order as the header. | 1006 // Don't dump stuff here, follow the same order as the header. |
998 | 1007 |
999 } // namespace switches | 1008 } // namespace switches |
OLD | NEW |