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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 void setValue(const AtomicString& value) { m_selector->setValue(value); } | 228 void setValue(const AtomicString& value) { m_selector->setValue(value); } |
229 void setAttribute(const QualifiedName& value, CSSSelector::AttributeMatchTyp
e matchType) { m_selector->setAttribute(value, matchType); } | 229 void setAttribute(const QualifiedName& value, CSSSelector::AttributeMatchTyp
e matchType) { m_selector->setAttribute(value, matchType); } |
230 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } | 230 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } |
231 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); } | 231 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); } |
232 void setRelation(CSSSelector::Relation value) { m_selector->setRelation(valu
e); } | 232 void setRelation(CSSSelector::Relation value) { m_selector->setRelation(valu
e); } |
233 void setForPage() { m_selector->setForPage(); } | 233 void setForPage() { m_selector->setForPage(); } |
234 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } | 234 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } |
235 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } | 235 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } |
236 | 236 |
237 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
; | 237 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
; |
| 238 void setSelectorList(PassOwnPtr<CSSSelectorList>); |
238 | 239 |
239 bool hasHostPseudoSelector() const; | 240 bool hasHostPseudoSelector() const; |
240 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem
ent(); } | 241 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem
ent(); } |
241 | 242 |
242 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } | 243 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } |
243 bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElemen
t(); } | 244 bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElemen
t(); } |
244 bool crossesTreeScopes() const { return isCustomPseudoElement() || pseudoTyp
e() == CSSSelector::PseudoCue || pseudoType() == CSSSelector::PseudoShadow; } | 245 bool crossesTreeScopes() const { return isCustomPseudoElement() || pseudoTyp
e() == CSSSelector::PseudoCue || pseudoType() == CSSSelector::PseudoShadow; } |
245 | 246 |
246 bool isSimple() const; | 247 bool isSimple() const; |
247 bool hasShadowPseudo() const; | 248 bool hasShadowPseudo() const; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 { | 295 { |
295 id = CSSValueInvalid; | 296 id = CSSValueInvalid; |
296 this->valueList = valueList.leakPtr(); | 297 this->valueList = valueList.leakPtr(); |
297 unit = ValueList; | 298 unit = ValueList; |
298 isInt = false; | 299 isInt = false; |
299 } | 300 } |
300 | 301 |
301 } | 302 } |
302 | 303 |
303 #endif | 304 #endif |
OLD | NEW |