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

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

Issue 2528633003: Move MediaQueryResults to RuleFeatureSet. (Closed)
Patch Set: 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..f46f0b70cc16eecee051a735bc5f2f88de96cefe 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();

Powered by Google App Engine
This is Rietveld 408576698