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

Unified Diff: Source/core/dom/ViewportDescription.h

Issue 49913005: Add Settings::deviceScaleAdjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. Created 7 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
« no previous file with comments | « no previous file | Source/core/page/Settings.h » ('j') | Source/core/rendering/TextAutosizer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ViewportDescription.h
diff --git a/Source/core/dom/ViewportDescription.h b/Source/core/dom/ViewportDescription.h
index 96cccc0327b05fdce19cddcda23a3b6a0a0c255b..53eed2688f5ac3699e52e0cee31ce292d2609d8e 100644
--- a/Source/core/dom/ViewportDescription.h
+++ b/Source/core/dom/ViewportDescription.h
@@ -106,6 +106,7 @@ struct ViewportDescription {
bool isLegacyViewportType() const { return type >= HandheldFriendlyMeta && type <= ViewportMeta; }
bool isMetaViewportType() const { return type == ViewportMeta; }
+ bool isSpecifiedByAuthor() const { return type != UserAgentStyleSheet; }
private:
enum Direction { Horizontal, Vertical };
« no previous file with comments | « no previous file | Source/core/page/Settings.h » ('j') | Source/core/rendering/TextAutosizer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698