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

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

Issue 2528633003: Move MediaQueryResults to RuleFeatureSet. (Closed)
Patch Set: Removed members. Created 4 years, 1 month 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: third_party/WebKit/Source/core/css/resolver/StyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
index fa652147281c3f24b4aec423d777372904a18e4d..94fd4181b7080ee056283dd6a68ce362952335a0 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
@@ -27,8 +27,6 @@
#include "core/animation/PropertyHandle.h"
#include "core/css/ElementRuleCollector.h"
#include "core/css/PseudoStyleRequest.h"
-#include "core/css/RuleFeature.h"
-#include "core/css/RuleSet.h"
#include "core/css/SelectorChecker.h"
#include "core/css/SelectorFilter.h"
#include "core/css/resolver/CSSPropertyPriority.h"
@@ -54,6 +52,7 @@ class Element;
class Interpolation;
class MatchResult;
class MediaQueryEvaluator;
+class RuleSet;
class StylePropertySet;
class StyleRule;
class StyleRuleUsageTracker;
@@ -148,14 +147,6 @@ class CORE_EXPORT StyleResolver final
void computeFont(ComputedStyle*, const StylePropertySet&);
- void addViewportDependentMediaQueries(const MediaQueryResultList&);
- bool hasViewportDependentMediaQueries() const {
- return !m_viewportDependentMediaQueryResults.isEmpty();
- }
- bool mediaQueryAffectedByViewportChange() const;
- void addDeviceDependentMediaQueries(const MediaQueryResultList&);
- bool mediaQueryAffectedByDeviceChange() const;
-
// FIXME: Rename to reflect the purpose, like didChangeFontSize or something.
void invalidateMatchedPropertiesCache();
@@ -282,10 +273,6 @@ class CORE_EXPORT StyleResolver final
static ComputedStyle* s_styleNotYetAvailable;
MatchedPropertiesCache m_matchedPropertiesCache;
-
- MediaQueryResultList m_viewportDependentMediaQueryResults;
- MediaQueryResultList m_deviceDependentMediaQueryResults;
-
Member<Document> m_document;
SelectorFilter m_selectorFilter;

Powered by Google App Engine
This is Rietveld 408576698