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

Unified Diff: cc/base/switches.cc

Issue 15567005: Plumb pinch virtual viewport flag to CC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revised to share setting with Blink also. Created 7 years, 7 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/base/switches.cc
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index bc502e127ae9cc9631471f00c620f54854061241..ea911d3296a365f05b583ffd1f7ae6ba2d64f11c 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -76,6 +76,9 @@ const char kCompositeToMailbox[] = "composite-to-mailbox";
const char kStrictLayerPropertyChangeChecking[] =
"strict-layer-property-change-checking";
+// Virtual viewport for fixed-position elements, scrollbars during pinch.
+const char kEnablePinchVirtualViewport[] = "enable-pinch-virtual-viewport";
+
const char kEnablePartialSwap[] = "enable-partial-swap";
// Disable partial swap which is needed for some OpenGL drivers / emulators.
const char kUIDisablePartialSwap[] = "ui-disable-partial-swap";

Powered by Google App Engine
This is Rietveld 408576698