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

Unified Diff: content/common/content_switches.cc

Issue 7831028: Compute pageScaleFactor on page so that fixed layout page fits width of window. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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/common/content_switches.cc
diff --git a/content/common/content_switches.cc b/content/common/content_switches.cc
index f4d380b2a43b50f873e7690fa253bfc59f098b78..a34f0f05be50e13b6ef977e33d2452ea52be909e 100644
--- a/content/common/content_switches.cc
+++ b/content/common/content_switches.cc
@@ -165,6 +165,10 @@ const char kEnableBenchmarking[] = "enable-benchmarking";
// Enables device motion events.
const char kEnableDeviceMotion[] = "enable-device-motion";
+// By default, a page is laid out to fill the entire width of the window.
+// This flag fixes the layout of the page to a default of 980px.
+const char kEnableFixedLayout[] = "enable-fixed-layout";
+
// Enable the JavaScript Full Screen API.
const char kEnableFullScreen[] = "enable-fullscreen";

Powered by Google App Engine
This is Rietveld 408576698