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

Unified Diff: Source/core/css/DocumentRuleSets.h

Issue 18371008: Add a WebDocument::watchCssSelectors(selectors) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pinned
Patch Set: Sync 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
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/DocumentRuleSets.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/DocumentRuleSets.h
diff --git a/Source/core/css/DocumentRuleSets.h b/Source/core/css/DocumentRuleSets.h
index 4434ec56a702460b42eabfdcf017cb9504103dfe..15255911072495cd7904d6b105dd4c0625cb10a1 100644
--- a/Source/core/css/DocumentRuleSets.h
+++ b/Source/core/css/DocumentRuleSets.h
@@ -60,7 +60,7 @@ public:
~DocumentRuleSets();
RuleSet* userStyle() const { return m_userStyle.get(); }
- void initUserStyle(StyleEngine*, const MediaQueryEvaluator&, StyleResolver&);
+ void initUserStyle(StyleEngine*, const Vector<RefPtr<StyleRule> >& watchedSelectors, const MediaQueryEvaluator&, StyleResolver&);
void resetAuthorStyle();
void collectFeaturesTo(RuleFeatureSet&, bool isViewSource);
@@ -68,6 +68,7 @@ public:
private:
void collectRulesFromUserStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&, RuleSet& userStyle, const MediaQueryEvaluator&, StyleResolver&);
+ void collectRulesFromWatchedSelectors(const Vector<RefPtr<StyleRule> >&, RuleSet& userStyle);
OwnPtr<RuleSet> m_userStyle;
ShadowDistributedRules m_shadowDistributedRules;
};
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/DocumentRuleSets.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698