Chromium Code Reviews

Unified Diff: content/common/content_switches.cc

Issue 7764006: Enable Fixed Layout Mode on TOUCH_UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated according to discussion with jam Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « content/common/content_switches.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
« no previous file with comments | « content/common/content_switches.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine