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

Unified Diff: content/renderer/render_view_impl.cc

Issue 989963002: Trigger use of viewportAndroid.css through new setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index c1219192f15a119490bdcbde46bd181424d1f224..14bdd2d7ee0e633528d0fce5f214d1d6b4fb35e8 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1110,6 +1110,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setShrinksStandaloneImagesToFit(false);
settings->setShrinksViewportContentToFit(true);
+ settings->setUseMobileViewportStyle(true);
#endif
WebNetworkStateNotifier::setOnLine(prefs.is_online);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698