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

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: aelias review 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | 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 f7c94dde293d6a073cd00434928d7faef4a285aa..7b829ea054fc537ca07a0e9cb5f84d96ef00af52 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -488,10 +488,8 @@ 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 kInvertViewportScrollOrder[] = "invert-viewport-scroll-order";
// Enable the Vtune profiler support.
const char kEnableVtune[] = "enable-vtune-support";
@@ -608,6 +606,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
Avi (use Gerrit) 2015/06/09 14:40:26 s/are the caused/are caused/ Complete sentences;
bokan 2015/06/09 15:09:13 Done.
+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";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698