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

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

Issue 1146053009: Added experiment for changing viewport scroll ordering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index f7c94dde293d6a073cd00434928d7faef4a285aa..2b9e4b9df29b0e29cc5c7966266e82e83e2b4790 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -488,10 +488,9 @@ const char kEnableViewport[] = "enable-viewport";
// only on mobile browsers.
const char kEnableViewportMeta[] = "enable-viewport-meta";
-// Resizes of the main frame are the caused by changing between landscape
-// and portrait mode (i.e. Android) so the page should be rescaled to fit
-const char kMainFrameResizesAreOrientationChanges[] =
- "main-frame-resizes-are-orientation-changes";
+// Enables experiment to scroll the inner viewport first in some situations.
+const char kEnableViewportScrollOrderExperiment[] =
+ "enable-viewport-scroll-order-experiment";
aelias_OOO_until_Jul13 2015/06/09 04:02:44 I think "invert-viewport-scroll-order" would be cl
bokan 2015/06/09 11:49:04 sgtm, done.
// Enable the Vtune profiler support.
const char kEnableVtune[] = "enable-vtune-support";
@@ -608,6 +607,11 @@ const char kLogNetLog[] = "log-net-log";
// Make plugin processes log their sent and received messages to VLOG(1).
const char kLogPluginMessages[] = "log-plugin-messages";
+// Resizes of the main frame are the caused by changing between landscape
+// and portrait mode (i.e. Android) so the page should be rescaled to fit
+const char kMainFrameResizesAreOrientationChanges[] =
+ "main-frame-resizes-are-orientation-changes";
+
// Sets the width and height above which a composited layer will get tiled.
const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";

Powered by Google App Engine
This is Rietveld 408576698