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

Unified Diff: chrome/browser/chrome_content_browser_client.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: Minimizes render_view_impl changes and introduces a defaultDeviceScaleFactor argument 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
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 5df1a41d53ac64f495ac31c5b268e0d8a842d1a4..eba722193d0a82dc1b494d553e2f3e6a61ec5766 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -646,10 +646,12 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kAppsGalleryURL,
switches::kCloudPrintServiceURL,
switches::kDebugPrint,
+ switches::kDefaultDeviceScaleFactor,
switches::kDumpHistogramsOnExit,
switches::kEnableBenchmarking,
switches::kEnableCrxlessWebApps,
switches::kEnableExperimentalExtensionApis,
+ switches::kEnableFixedLayout,
switches::kEnableInBrowserThumbnailing,
switches::kEnableIPCFuzzing,
switches::kEnableNaCl,

Powered by Google App Engine
This is Rietveld 408576698