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

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

Issue 861553003: Invalidate CustomScrollbars on having window-inactive selector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | Source/core/css/RuleFeature.cpp » ('j') | Source/core/frame/FrameView.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleFeature.h
diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
index 004d01615b93e22398773eb7383a058de9eb97c6..69e9ad6e311f0a2289e7e78635fd655e56e3fc27 100644
--- a/Source/core/css/RuleFeature.h
+++ b/Source/core/css/RuleFeature.h
@@ -61,6 +61,7 @@ public:
bool usesSiblingRules() const { return !siblingRules.isEmpty(); }
bool usesFirstLineRules() const { return m_metadata.usesFirstLineRules; }
+ bool usesWindowInActiveSelector() const { return m_metadata.usesWindowInActiveSelector; }
rune 2015/01/20 13:42:34 It's "inactive", not "in active", so you should ca
MuVen 2015/01/20 14:50:11 Done.
unsigned maxDirectAdjacentSelectors() const { return m_metadata.maxDirectAdjacentSelectors; }
void setMaxDirectAdjacentSelectors(unsigned value) { m_metadata.maxDirectAdjacentSelectors = std::max(value, m_metadata.maxDirectAdjacentSelectors); }
@@ -108,6 +109,7 @@ private:
struct FeatureMetadata {
FeatureMetadata()
: usesFirstLineRules(false)
+ , usesWindowInActiveSelector(false)
, foundSiblingSelector(false)
, maxDirectAdjacentSelectors(0)
{ }
@@ -115,6 +117,7 @@ private:
void clear();
bool usesFirstLineRules;
+ bool usesWindowInActiveSelector;
bool foundSiblingSelector;
unsigned maxDirectAdjacentSelectors;
};
« no previous file with comments | « no previous file | Source/core/css/RuleFeature.cpp » ('j') | Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698