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

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

Issue 11818039: Reapply "Add a switch to enable composited scrolling for frames and enable it on Android" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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') | webkit/glue/webpreferences.h » ('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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 587
588 // Draws a FPS indicator 588 // Draws a FPS indicator
589 const char kShowFPSCounter[] = "show-fps-counter"; 589 const char kShowFPSCounter[] = "show-fps-counter";
590 590
591 // Enables accelerated compositing for overflow scroll. Promotes eligible 591 // Enables accelerated compositing for overflow scroll. Promotes eligible
592 // overflow:scroll elements to layers to enable accelerated scrolling for them. 592 // overflow:scroll elements to layers to enable accelerated scrolling for them.
593 const char kEnableAcceleratedOverflowScroll[] = 593 const char kEnableAcceleratedOverflowScroll[] =
594 "enable-accelerated-overflow-scroll"; 594 "enable-accelerated-overflow-scroll";
595 595
596 // Enables accelerated compositing for scrollable frames for accelerated 596 // Enables accelerated compositing for scrollable frames for accelerated
597 // scrolling for them. 597 // scrolling for them. Requires kForceCompositingMode.
598 const char kEnableAcceleratedScrollableFrames[] = 598 const char kEnableAcceleratedScrollableFrames[] =
599 "enable-accelerated-scrollable-frames"; 599 "enable-accelerated-scrollable-frames";
600 600
601 // Enables accelerated scrolling by the compositor for frames. Requires
602 // kForceCompositingMode and kEnableAcceleratedScrollableFrames.
603 const char kEnableCompositedScrollingForFrames[] =
604 "enable-composited-scrolling-for-frames";
605
601 // Visibly render a border around paint rects in the web page to help debug 606 // Visibly render a border around paint rects in the web page to help debug
602 // and study painting behavior. 607 // and study painting behavior.
603 const char kShowPaintRects[] = "show-paint-rects"; 608 const char kShowPaintRects[] = "show-paint-rects";
604 609
605 // Map mouse input events into touch gesture events. Useful for debugging touch 610 // Map mouse input events into touch gesture events. Useful for debugging touch
606 // gestures without needing a touchscreen. 611 // gestures without needing a touchscreen.
607 const char kSimulateTouchScreenWithMouse[] = 612 const char kSimulateTouchScreenWithMouse[] =
608 "simulate-touch-screen-with-mouse"; 613 "simulate-touch-screen-with-mouse";
609 614
610 // Runs the renderer and plugins in the same process as the browser 615 // Runs the renderer and plugins in the same process as the browser
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 = "disable-fixed-position-creates-stacking-context"; 766 = "disable-fixed-position-creates-stacking-context";
762 767
763 // Defer image decoding in WebKit until painting. 768 // Defer image decoding in WebKit until painting.
764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
765 770
766 // Enables history navigation in response to horizontal overscroll. 771 // Enables history navigation in response to horizontal overscroll.
767 const char kEnableOverscrollHistoryNavigation[] = 772 const char kEnableOverscrollHistoryNavigation[] =
768 "enable-overscroll-history-navigation"; 773 "enable-overscroll-history-navigation";
769 774
770 } // namespace switches 775 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698