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

Unified Diff: content/public/common/content_switches.cc

Issue 10388195: aura: Put pinch-to-zoom behind a flag (--enable-pinch or --enable-viewport) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index e00e557ac5cfc96143ca27ebeb7d01668be3aeb0..435e2b5e3dc094cc21caa5e9fcee51a011d9b8de 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -277,6 +277,9 @@ const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs";
// Enables partial swaps in the WK compositor on platforms that support it.
const char kEnablePartialSwap[] = "enable-partial-swap";
+// Enables touch-screen pinch gestures.
+const char kEnablePinch[] = "enable-pinch";
+
// Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";
@@ -336,7 +339,8 @@ const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
const char kEnableVideoTrack[] = "enable-video-track";
// Enables the use of the viewport meta tag, which allows
-// pages to control aspects of their own layout.
+// pages to control aspects of their own layout. This also turns on touch-screen
+// pinch gestures.
const char kEnableViewport[] = "enable-viewport";
// Enables experimental features for the geolocation API.
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698