| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 CSSSelector::Relation relation() const { return m_selector->relation(); } | 42 CSSSelector::Relation relation() const { return m_selector->relation(); } |
| 43 void setValue(const AtomicString& value, bool matchLowerCase = false) { m_se
lector->setValue(value, matchLowerCase); } | 43 void setValue(const AtomicString& value, bool matchLowerCase = false) { m_se
lector->setValue(value, matchLowerCase); } |
| 44 void setAttribute(const QualifiedName& value, CSSSelector::AttributeMatchTyp
e matchType) { m_selector->setAttribute(value, matchType); } | 44 void setAttribute(const QualifiedName& value, CSSSelector::AttributeMatchTyp
e matchType) { m_selector->setAttribute(value, matchType); } |
| 45 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } | 45 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } |
| 46 void setNth(int a, int b) { m_selector->setNth(a, b); } | 46 void setNth(int a, int b) { m_selector->setNth(a, b); } |
| 47 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); } | 47 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); } |
| 48 void setRelation(CSSSelector::Relation value) { m_selector->setRelation(valu
e); } | 48 void setRelation(CSSSelector::Relation value) { m_selector->setRelation(valu
e); } |
| 49 void setForPage() { m_selector->setForPage(); } | 49 void setForPage() { m_selector->setForPage(); } |
| 50 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } | 50 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } |
| 51 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } | 51 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } |
| 52 void setRelationIsAffectedByPseudoSlotted() { m_selector->setRelationIsAffec
tedByPseudoSlotted(); } |
| 53 bool relationIsAffectedByPseudoSlotted() const { return m_selector->relation
IsAffectedByPseudoSlotted(); } |
| 52 | 54 |
| 53 void updatePseudoType(const AtomicString& value, bool hasArguments = false)
const { m_selector->updatePseudoType(value, hasArguments); } | 55 void updatePseudoType(const AtomicString& value, bool hasArguments = false)
const { m_selector->updatePseudoType(value, hasArguments); } |
| 54 | 56 |
| 55 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector); | 57 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector); |
| 56 void setSelectorList(PassOwnPtr<CSSSelectorList>); | 58 void setSelectorList(PassOwnPtr<CSSSelectorList>); |
| 57 | 59 |
| 58 bool hasHostPseudoSelector() const; | 60 bool hasHostPseudoSelector() const; |
| 59 | 61 |
| 60 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } | 62 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } |
| 61 | 63 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 78 }; | 80 }; |
| 79 | 81 |
| 80 inline bool CSSParserSelector::hasShadowPseudo() const | 82 inline bool CSSParserSelector::hasShadowPseudo() const |
| 81 { | 83 { |
| 82 return m_selector->relation() == CSSSelector::ShadowPseudo; | 84 return m_selector->relation() == CSSSelector::ShadowPseudo; |
| 83 } | 85 } |
| 84 | 86 |
| 85 } // namespace blink | 87 } // namespace blink |
| 86 | 88 |
| 87 #endif | 89 #endif |
| OLD | NEW |