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

Unified Diff: sky/engine/core/css/resolver/StyleResolver.h

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/css/resolver/StyleResolver.h
diff --git a/sky/engine/core/css/resolver/StyleResolver.h b/sky/engine/core/css/resolver/StyleResolver.h
index d580b02d450578fb29406bd3ed7ad14bbc80b326..e0e5a3ec412bb73f2d2dc0f6c6c182277aa09407 100644
--- a/sky/engine/core/css/resolver/StyleResolver.h
+++ b/sky/engine/core/css/resolver/StyleResolver.h
@@ -63,7 +63,6 @@ class StylePropertySet;
class StyleResolverStats;
class StyleRule;
class StyleRuleKeyframes;
-class ViewportStyleResolver;
class MatchResult;
@@ -146,8 +145,6 @@ public:
// |properties| is an array with |count| elements.
void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count, RenderStyle*);
- ViewportStyleResolver* viewportStyleResolver() { return m_viewportStyleResolver.get(); }
-
void addMediaQueryResults(const MediaQueryResultList&);
MediaQueryResultList* viewportDependentMediaQueryResults() { return &m_viewportDependentMediaQueryResults; }
bool hasViewportDependentMediaQueries() const { return !m_viewportDependentMediaQueryResults.isEmpty(); }
@@ -236,8 +233,6 @@ private:
template <StyleResolver::StyleApplicationPass pass>
void applyAllProperty(StyleResolverState&, CSSValue*);
- void collectViewportRules();
-
// FIXME: This likely belongs on RuleSet.
typedef WillBeHeapHashMap<StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes> > KeyframesRuleMap;
KeyframesRuleMap m_keyframesRuleMap;
@@ -251,8 +246,6 @@ private:
RawPtrWillBeMember<Document> m_document;
- OwnPtrWillBeMember<ViewportStyleResolver> m_viewportStyleResolver;
-
WillBeHeapListHashSet<RawPtrWillBeMember<CSSStyleSheet>, 16> m_pendingStyleSheets;
// FIXME: The entire logic of collecting features on StyleResolver, as well as transferring them

Powered by Google App Engine
This is Rietveld 408576698