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

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: Fixed common.gypi to have default value for enable_viewport Created 8 years, 10 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/renderer/render_view_impl.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 708fdd68225d8b0b30baf66b75b7904894f6884f..679951aafd0499776bfe99fe9ab1fd8842b4ce54 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -36,6 +36,10 @@ const char kBrowserSubprocessPath[] = "browser-subprocess-path";
// as a dependent process of the Chrome Frame plugin.
const char kChromeFrame[] = "chrome-frame";
+// The default device scale factor to apply to contents in the absence of
+// a viewport meta tag.
+const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor";
+
// Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
// This is controlled by policy and is kept separate from the other
// enable/disable switches to avoid accidentally regressing the policy
@@ -235,6 +239,10 @@ const char kEnableDeviceMotion[] = "enable-device-motion";
// Enables the fastback page cache.
const char kEnableFastback[] = "enable-fastback";
+// 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 980 CSS pixels.
+const char kEnableFixedLayout[] = "enable-fixed-layout";
+
// Enable the JavaScript Full Screen API.
const char kDisableFullScreen[] = "disable-fullscreen";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698