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