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

Unified Diff: content/public/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: Small fix (workaround) to work on Aura Created 8 years, 12 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
« build/common.gypi ('K') | « 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 e49064889c9caa03524c05fcd405ada85195809c..b20aa4b1c496ef46633b7d311477bca9d8b0ab25 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -200,6 +200,10 @@ const char kEnableDNSCertProvenanceChecking[] =
// 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 kDisableFullScreen[] = "disable-fullscreen";
« build/common.gypi ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698