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

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

Issue 19555002: Translate viewport related meta tags into @viewport descriptors as suggested by the CSS Device Adap… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/ViewportStyleResolver.h
diff --git a/Source/core/css/resolver/ViewportStyleResolver.h b/Source/core/css/resolver/ViewportStyleResolver.h
index 9f86309dd29b71b3959ff64999a537913982bddf..c2a39c1fa479ebaa9ea8e4cae94e789b2831bf4e 100644
--- a/Source/core/css/resolver/ViewportStyleResolver.h
+++ b/Source/core/css/resolver/ViewportStyleResolver.h
@@ -49,6 +49,8 @@ public:
~ViewportStyleResolver();
+ bool shouldDisableDesktopWorkarounds() const;
+
void addViewportRule(StyleRuleViewport*);
void clearDocument();
@@ -60,6 +62,7 @@ private:
float getViewportArgumentValue(CSSPropertyID) const;
Document* m_document;
+ float m_maxPriority;
RefPtr<MutableStylePropertySet> m_propertySet;
};

Powered by Google App Engine
This is Rietveld 408576698