| Index: third_party/WebKit/Source/core/css/SelectorChecker.h
|
| diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.h b/third_party/WebKit/Source/core/css/SelectorChecker.h
|
| index 643ba59e6bf44d5a7709bd75782e9d04f3bb8c18..a188b23b44f78cae0761791cadfffd7cdc946700 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.h
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.h
|
| @@ -131,22 +131,24 @@ class SelectorChecker {
|
| private:
|
| bool checkOne(const SelectorCheckingContext&, MatchResult&) const;
|
|
|
| - enum Match {
|
| + enum MatchStatus {
|
| SelectorMatches,
|
| SelectorFailsLocally,
|
| SelectorFailsAllSiblings,
|
| SelectorFailsCompletely
|
| };
|
|
|
| - Match matchSelector(const SelectorCheckingContext&, MatchResult&) const;
|
| - Match matchForSubSelector(const SelectorCheckingContext&, MatchResult&) const;
|
| - Match matchForRelation(const SelectorCheckingContext&, MatchResult&) const;
|
| - Match matchForPseudoContent(const SelectorCheckingContext&,
|
| - const Element&,
|
| - MatchResult&) const;
|
| - Match matchForPseudoShadow(const SelectorCheckingContext&,
|
| - const ContainerNode*,
|
| - MatchResult&) const;
|
| + MatchStatus matchSelector(const SelectorCheckingContext&, MatchResult&) const;
|
| + MatchStatus matchForSubSelector(const SelectorCheckingContext&,
|
| + MatchResult&) const;
|
| + MatchStatus matchForRelation(const SelectorCheckingContext&,
|
| + MatchResult&) const;
|
| + MatchStatus matchForPseudoContent(const SelectorCheckingContext&,
|
| + const Element&,
|
| + MatchResult&) const;
|
| + MatchStatus matchForPseudoShadow(const SelectorCheckingContext&,
|
| + const ContainerNode*,
|
| + MatchResult&) const;
|
| bool checkPseudoClass(const SelectorCheckingContext&, MatchResult&) const;
|
| bool checkPseudoElement(const SelectorCheckingContext&, MatchResult&) const;
|
| bool checkScrollbarPseudoClass(const SelectorCheckingContext&,
|
|
|