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

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

Issue 212123002: Unship '::-webkit-distributed(...)' functional pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 9 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/CSSParserValues.cpp ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/CSSParserValues.cpp ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698