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

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

Issue 12544030: Chromium side plumbing for enabling fixed root background compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 months 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 // 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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 634
635 // Causes the renderer process to display a dialog on launch. 635 // Causes the renderer process to display a dialog on launch.
636 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 636 const char kRendererStartupDialog[] = "renderer-startup-dialog";
637 637
638 // Enables accelerated compositing for overflow scroll. Promotes eligible 638 // Enables accelerated compositing for overflow scroll. Promotes eligible
639 // overflow:scroll elements to layers to enable accelerated scrolling for them. 639 // overflow:scroll elements to layers to enable accelerated scrolling for them.
640 const char kEnableAcceleratedOverflowScroll[] = 640 const char kEnableAcceleratedOverflowScroll[] =
641 "enable-accelerated-overflow-scroll"; 641 "enable-accelerated-overflow-scroll";
642 642
643 // Disables accelerated compositing for overflow scroll. 643 // Disables accelerated compositing for overflow scroll.
644 extern const char kDisableAcceleratedOverflowScroll[] = 644 const char kDisableAcceleratedOverflowScroll[] =
645 "disable-accelerated-overflow-scroll"; 645 "disable-accelerated-overflow-scroll";
646 646
647 // Enables accelerated compositing for scrollable frames for accelerated 647 // Enables accelerated compositing for scrollable frames for accelerated
648 // scrolling for them. Requires kForceCompositingMode. 648 // scrolling for them. Requires kForceCompositingMode.
649 const char kEnableAcceleratedScrollableFrames[] = 649 const char kEnableAcceleratedScrollableFrames[] =
650 "enable-accelerated-scrollable-frames"; 650 "enable-accelerated-scrollable-frames";
651 651
652 // Enables accelerated scrolling by the compositor for frames. Requires 652 // Enables accelerated scrolling by the compositor for frames. Requires
653 // kForceCompositingMode and kEnableAcceleratedScrollableFrames. 653 // kForceCompositingMode and kEnableAcceleratedScrollableFrames.
654 const char kEnableCompositedScrollingForFrames[] = 654 const char kEnableCompositedScrollingForFrames[] =
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 849
850 // Forward overscroll event data from the renderer to the browser. 850 // Forward overscroll event data from the renderer to the browser.
851 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 851 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
852 852
853 // Enables 'image/webp' accept header for image requests. 853 // Enables 'image/webp' accept header for image requests.
854 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 854 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
855 855
856 // Enables WebGL extensions not yet approved by the community. 856 // Enables WebGL extensions not yet approved by the community.
857 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 857 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
858 858
859 // Enables/disables accelerated compositing for backgrounds of root layers with
860 // background-attachment: fixed. Requires kForceCompositingMode.
861 const char kDisableAcceleratedFixedRootBackground[] =
862 "disable-accelerated-fixed-root-background";
863 const char kEnableAcceleratedFixedRootBackground[] =
864 "enable-accelerated-fixed-root-background";
865
859 } // namespace switches 866 } // 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