Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/CSSSelector.h |
| diff --git a/third_party/WebKit/Source/core/css/CSSSelector.h b/third_party/WebKit/Source/core/css/CSSSelector.h |
| index f4feecde158591b47c6845dcc21ce06cedf170ca..e81acf2711f6d826e1439fc179ae3fea53155e5f 100644 |
| --- a/third_party/WebKit/Source/core/css/CSSSelector.h |
| +++ b/third_party/WebKit/Source/core/css/CSSSelector.h |
| @@ -25,6 +25,7 @@ |
| #include <memory> |
| #include "core/CoreExport.h" |
| +#include "core/css/parser/CSSParserContext.h" |
| #include "core/dom/QualifiedName.h" |
| #include "core/style/ComputedStyleConstants.h" |
| #include "platform/wtf/RefCounted.h" |
| @@ -133,6 +134,7 @@ class CORE_EXPORT CSSSelector { |
| kShadowPiercingDescendant, // >>> combinator |
| kShadowDeep, // /deep/ combinator |
| kShadowPseudo, // ::shadow pseudo element |
| + kShadowDeepAsDescendant, // /deep/ as an alias for descendant |
|
kochi
2017/05/09 14:29:38
nit: moving this next to kShadowDeep?
hayato
2017/05/10 06:57:04
Done
|
| kShadowSlot // ::slotted() pseudo element |
| }; |
| @@ -238,7 +240,9 @@ class CORE_EXPORT CSSSelector { |
| PseudoType GetPseudoType() const { |
| return static_cast<PseudoType>(pseudo_type_); |
| } |
| - void UpdatePseudoType(const AtomicString&, bool has_arguments); |
| + void UpdatePseudoType(const AtomicString&, |
| + const CSSParserContext&, |
| + bool has_arguments); |
| static PseudoType ParsePseudoType(const AtomicString&, bool has_arguments); |
| static PseudoId ParsePseudoId(const String&); |