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

Unified Diff: cc/CCSettings.h

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Change m_unpinchedViewportSize and remove unnecessary >1 page scale clamping. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: cc/CCSettings.h
===================================================================
--- cc/CCSettings.h (revision 159486)
+++ cc/CCSettings.h (working copy)
@@ -14,12 +14,14 @@
static bool perTilePaintingEnabled();
static bool partialSwapEnabled();
static bool acceleratedAnimationEnabled();
+ static bool pageScalePinchZoomEnabled();
// These setters should only be used on the main thread before the layer
// renderer is initialized.
static void setPerTilePaintingEnabled(bool);
static void setPartialSwapEnabled(bool);
static void setAcceleratedAnimationEnabled(bool);
+ static void setPageScalePinchZoomEnabled(bool);
// These settings are meant to be set only once, and only read thereafter.
// This function is only for resetting settings in tests.

Powered by Google App Engine
This is Rietveld 408576698