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

Unified Diff: android_webview/native/aw_settings.cc

Issue 1785953002: Ignore viewport meta tags when Request Desktop Site is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable HandheldFriendlyMeta and MobileOptimizedMeta as well Created 4 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
Index: android_webview/native/aw_settings.cc
diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
index 3ba4ac533cdbb77896836f0a065fa6e8e4383e66..42a6c262056bcde700b0238fcf37fe255b0e7f3d 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -49,6 +49,7 @@ void PopulateFixedRendererPreferences(RendererPreferences* prefs) {
void PopulateFixedWebPreferences(WebPreferences* web_prefs) {
web_prefs->shrinks_standalone_images_to_fit = false;
web_prefs->should_clear_document_background = false;
+ web_prefs->viewport_meta_enabled = true;
}
const void* const kAwSettingsUserDataKey = &kAwSettingsUserDataKey;

Powered by Google App Engine
This is Rietveld 408576698