Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: content/public/common/content_switches.cc

Issue 38793007: Experimental viewport meta tag support for desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 549 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
550 550
551 // Enable accelerated overflow scrolling in all cases. 551 // Enable accelerated overflow scrolling in all cases.
552 const char kEnableUniversalAcceleratedOverflowScroll[] = 552 const char kEnableUniversalAcceleratedOverflowScroll[] =
553 "enable-universal-accelerated-overflow-scroll"; 553 "enable-universal-accelerated-overflow-scroll";
554 554
555 // Enable screen capturing support for MediaStream API. 555 // Enable screen capturing support for MediaStream API.
556 const char kEnableUserMediaScreenCapturing[] = 556 const char kEnableUserMediaScreenCapturing[] =
557 "enable-usermedia-screen-capturing"; 557 "enable-usermedia-screen-capturing";
558 558
559 // Enables the use of the viewport meta tag, which allows 559 // Enables the use of the @viewport CSS rule, which allows
560 // pages to control aspects of their own layout. This also turns on touch-screen 560 // pages to control aspects of their own layout. This also turns on touch-screen
561 // pinch gestures. 561 // pinch gestures.
562 const char kEnableViewport[] = "enable-viewport"; 562 const char kEnableViewport[] = "enable-viewport";
563 563
564 // Enables the use of the legacy viewport meta tag. Turning this on also
565 // turns on the @viewport CSS rule
566 const char kEnableViewportMeta[] = "enable-viewport-meta";
567
568 // Resizes of the main frame are the caused by changing between landscape
569 // and portrait mode (i.e. Android) so the page should be rescaled to fit
570 const char kMainFrameResizesAreOrientationChanges[] =
571 "main-frame-resizes-are-orientation-changes";
572
564 // Enables moving cursor by word in visual order. 573 // Enables moving cursor by word in visual order.
565 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 574 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
566 575
567 // Enable the Vtune profiler support. 576 // Enable the Vtune profiler support.
568 const char kEnableVtune[] = "enable-vtune-support"; 577 const char kEnableVtune[] = "enable-vtune-support";
569 578
570 // Enable CSS Transitions / Animations on the Web Animations model. 579 // Enable CSS Transitions / Animations on the Web Animations model.
571 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; 580 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css";
572 581
573 // Enable SVG Animations on the Web Animations model. 582 // Enable SVG Animations on the Web Animations model.
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 #endif 1005 #endif
997 1006
998 #if defined(OS_POSIX) 1007 #if defined(OS_POSIX)
999 // Causes the child processes to cleanly exit via calling exit(). 1008 // Causes the child processes to cleanly exit via calling exit().
1000 const char kChildCleanExit[] = "child-clean-exit"; 1009 const char kChildCleanExit[] = "child-clean-exit";
1001 #endif 1010 #endif
1002 1011
1003 // Don't dump stuff here, follow the same order as the header. 1012 // Don't dump stuff here, follow the same order as the header.
1004 1013
1005 } // namespace switches 1014 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698