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

Unified Diff: Source/core/css/resolver/StyleResolver.h

Issue 23742003: Use css-device-adapt constraining for legacy viewport tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More review issues Created 7 years, 3 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: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index 12781a64877bec223e0f46521b5ea3a9f99db818..c79477f4fe3af04951fab3d4c6059662bd7a19fa 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -265,9 +265,11 @@ public:
// FIXME: StyleResolver should not have this member or method.
InspectorCSSOMWrappers& inspectorCSSOMWrappers() { return m_inspectorCSSOMWrappers; }
+ enum ViewportOrigin { UserAgentOrigin, AuthorOrigin };
+
// Exposed for ScopedStyleResolver.
// FIXME: Likely belongs on viewportStyleResolver.
- void collectViewportRules(RuleSet*);
+ void collectViewportRules(RuleSet*, ViewportOrigin);
const RuleFeatureSet& ruleFeatureSet() const { return m_features; }

Powered by Google App Engine
This is Rietveld 408576698