| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 CSSSelector::Relation relation() const { return m_selector->relation(); } | 41 CSSSelector::Relation relation() const { return m_selector->relation(); } |
| 42 void setValue(const AtomicString& value, bool matchLowerCase = false) { m_se
lector->setValue(value, matchLowerCase); } | 42 void setValue(const AtomicString& value, bool matchLowerCase = false) { m_se
lector->setValue(value, matchLowerCase); } |
| 43 void setAttribute(const QualifiedName& value, CSSSelector::AttributeMatchTyp
e matchType) { m_selector->setAttribute(value, matchType); } | 43 void setAttribute(const QualifiedName& value, CSSSelector::AttributeMatchTyp
e matchType) { m_selector->setAttribute(value, matchType); } |
| 44 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } | 44 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } |
| 45 void setNth(int a, int b) { m_selector->setNth(a, b); } | 45 void setNth(int a, int b) { m_selector->setNth(a, b); } |
| 46 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); } | 46 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); } |
| 47 void setRelation(CSSSelector::Relation value) { m_selector->setRelation(valu
e); } | 47 void setRelation(CSSSelector::Relation value) { m_selector->setRelation(valu
e); } |
| 48 void setForPage() { m_selector->setForPage(); } | 48 void setForPage() { m_selector->setForPage(); } |
| 49 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } | 49 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } |
| 50 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } | 50 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } |
| 51 void setRelationIsAffectedByPseudoSlotted() { m_selector->setRelationIsAffec
tedByPseudoSlotted(); } |
| 52 bool relationIsAffectedByPseudoSlotted() const { return m_selector->relation
IsAffectedByPseudoSlotted(); } |
| 51 | 53 |
| 52 void updatePseudoType(const AtomicString& value, bool hasArguments = false)
const { m_selector->updatePseudoType(value, hasArguments); } | 54 void updatePseudoType(const AtomicString& value, bool hasArguments = false)
const { m_selector->updatePseudoType(value, hasArguments); } |
| 53 | 55 |
| 54 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector); | 56 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector); |
| 55 void setSelectorList(PassOwnPtr<CSSSelectorList>); | 57 void setSelectorList(PassOwnPtr<CSSSelectorList>); |
| 56 | 58 |
| 57 bool hasHostPseudoSelector() const; | 59 bool hasHostPseudoSelector() const; |
| 58 | 60 |
| 59 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } | 61 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } |
| 60 | 62 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 77 }; | 79 }; |
| 78 | 80 |
| 79 inline bool CSSParserSelector::hasShadowPseudo() const | 81 inline bool CSSParserSelector::hasShadowPseudo() const |
| 80 { | 82 { |
| 81 return m_selector->relation() == CSSSelector::ShadowPseudo; | 83 return m_selector->relation() == CSSSelector::ShadowPseudo; |
| 82 } | 84 } |
| 83 | 85 |
| 84 } // namespace blink | 86 } // namespace blink |
| 85 | 87 |
| 86 #endif | 88 #endif |
| OLD | NEW |