Chromium Code Reviews| Index: Source/core/css/CSSSelector.h |
| diff --git a/Source/core/css/CSSSelector.h b/Source/core/css/CSSSelector.h |
| index 168cb407c3eea14bcfd35238359239b69833c2b3..399b2ad3f90c0faed81ebdd1ad51aeb20a6ef624 100644 |
| --- a/Source/core/css/CSSSelector.h |
| +++ b/Source/core/css/CSSSelector.h |
| @@ -214,18 +214,12 @@ namespace WebCore { |
| PseudoCue, |
| PseudoFutureCue, |
| PseudoPastCue, |
| - PseudoDistributed, |
| PseudoUnresolved, |
| PseudoContent, |
| PseudoHost, |
| PseudoHostContext |
| }; |
| - enum OptionalPseudoTypeRequirements { |
|
hayato
2014/03/26 06:59:15
Note: This should have been removed in another pat
|
| - // 0 is used to mean "no requirements". |
| - RequiresShadowDOM = 1 |
| - }; |
| - |
| enum MarginBoxType { |
| TopLeftCornerMarginBox, |
| TopLeftMarginBox, |
| @@ -292,7 +286,6 @@ namespace WebCore { |
| bool isDirectAdjacentSelector() const { return m_relation == DirectAdjacent; } |
| bool isSiblingSelector() const; |
| bool isAttributeSelector() const; |
| - bool isDistributedPseudoElement() const; |
| bool isContentPseudoElement() const; |
| bool isHostPseudoClass() const; |
| @@ -419,11 +412,6 @@ inline bool CSSSelector::isAttributeSelector() const |
| || m_match == CSSSelector::End; |
| } |
| -inline bool CSSSelector::isDistributedPseudoElement() const |
| -{ |
| - return m_match == PseudoElement && pseudoType() == PseudoDistributed; |
| -} |
| - |
| inline bool CSSSelector::isContentPseudoElement() const |
| { |
| return m_match == PseudoElement && pseudoType() == PseudoContent; |