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

Unified Diff: sky/engine/core/frame/Settings.in

Issue 654693004: Remove meta viewport and @viewport CSS rules. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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: sky/engine/core/frame/Settings.in
diff --git a/sky/engine/core/frame/Settings.in b/sky/engine/core/frame/Settings.in
index 472bd6aae5d7ecc1c902fdacce4af61eef623116..ccfdf81b2b0a391f61a5b3881e6ad7a9a03a30ae 100644
--- a/sky/engine/core/frame/Settings.in
+++ b/sky/engine/core/frame/Settings.in
@@ -140,7 +140,7 @@ selectionIncludesAltImageText initial=false
# Used by the android_webview to support a horizontal height auto-sizing
# mode.
-forceZeroLayoutHeight initial=false, invalidate=ViewportDescription
+forceZeroLayoutHeight initial=false
# Touch based text selection and editing on desktop.
# crbug.com/304873 tracks removal once it's been enabled on all platforms.
@@ -150,16 +150,13 @@ useSolidColorScrollbars initial=true
mainFrameClipsContent initial=true
-
# Presumably used by tests? Unclear.
-useWideViewport initial=true, invalidate=ViewportDescription
-loadWithOverviewMode initial=true, invalidate=ViewportDescription
-
+useWideViewport initial=true
+loadWithOverviewMode initial=true
# Font scale factor for accessibility, applied as part of text autosizing.
accessibilityFontScaleFactor type=double, initial=1.0
-
# Only set by Layout Tests.
mediaTypeOverride type=String, initial="screen", invalidate=MediaType
@@ -168,9 +165,6 @@ mediaTypeOverride type=String, initial="screen", invalidate=MediaType
loadsImagesAutomatically initial=false, invalidate=ImageLoading
imagesEnabled initial=true, invalidate=ImageLoading
-viewportEnabled initial=false, invalidate=ViewportDescription
-viewportMetaEnabled initial=false
-
# Compensates for poor text legibility on mobile devices. This value is
# multiplied by the font scale factor when performing text autosizing of
# websites that do not set an explicit viewport description.

Powered by Google App Engine
This is Rietveld 408576698