| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 WTF_MAKE_NONCOPYABLE(CSSParserSelector); WTF_MAKE_FAST_ALLOCATED; | 213 WTF_MAKE_NONCOPYABLE(CSSParserSelector); WTF_MAKE_FAST_ALLOCATED; |
| 214 public: | 214 public: |
| 215 CSSParserSelector(); | 215 CSSParserSelector(); |
| 216 explicit CSSParserSelector(const QualifiedName&); | 216 explicit CSSParserSelector(const QualifiedName&); |
| 217 ~CSSParserSelector(); | 217 ~CSSParserSelector(); |
| 218 | 218 |
| 219 PassOwnPtr<CSSSelector> releaseSelector() { return m_selector.release(); } | 219 PassOwnPtr<CSSSelector> releaseSelector() { return m_selector.release(); } |
| 220 | 220 |
| 221 CSSSelector::Relation relation() const { return m_selector->relation(); } | 221 CSSSelector::Relation relation() const { return m_selector->relation(); } |
| 222 void setValue(const AtomicString& value) { m_selector->setValue(value); } | 222 void setValue(const AtomicString& value) { m_selector->setValue(value); } |
| 223 void setAttribute(const QualifiedName& value) { m_selector->setAttribute(val
ue); } | 223 void setAttribute(const QualifiedName& value, unsigned flags) { m_selector->
setAttribute(value, flags); } |
| 224 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } | 224 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } |
| 225 void setMatch(CSSSelector::Match value) { m_selector->m_match = value; } | 225 void setMatch(CSSSelector::Match value) { m_selector->m_match = value; } |
| 226 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val
ue; } | 226 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val
ue; } |
| 227 void setForPage() { m_selector->setForPage(); } | 227 void setForPage() { m_selector->setForPage(); } |
| 228 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } | 228 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } |
| 229 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } | 229 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } |
| 230 | 230 |
| 231 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
; | 231 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
; |
| 232 | 232 |
| 233 bool hasHostPseudoSelector() const; | 233 bool hasHostPseudoSelector() const; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu
eList) | 278 inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu
eList) |
| 279 { | 279 { |
| 280 id = CSSValueInvalid; | 280 id = CSSValueInvalid; |
| 281 this->valueList = valueList.leakPtr(); | 281 this->valueList = valueList.leakPtr(); |
| 282 unit = ValueList; | 282 unit = ValueList; |
| 283 } | 283 } |
| 284 | 284 |
| 285 } | 285 } |
| 286 | 286 |
| 287 #endif | 287 #endif |
| OLD | NEW |