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 | 214 |
215 CSSSelector::Relation relation() const { return m_selector->relation(); } | 215 CSSSelector::Relation relation() const { return m_selector->relation(); } |
216 void setValue(const AtomicString& value) { m_selector->setValue(value); } | 216 void setValue(const AtomicString& value) { m_selector->setValue(value); } |
217 void setAttribute(const QualifiedName& value) { m_selector->setAttribute(val
ue); } | 217 void setAttribute(const QualifiedName& value) { m_selector->setAttribute(val
ue); } |
218 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } | 218 void setArgument(const AtomicString& value) { m_selector->setArgument(value)
; } |
219 void setMatch(CSSSelector::Match value) { m_selector->m_match = value; } | 219 void setMatch(CSSSelector::Match value) { m_selector->m_match = value; } |
220 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val
ue; } | 220 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val
ue; } |
221 void setForPage() { m_selector->setForPage(); } | 221 void setForPage() { m_selector->setForPage(); } |
222 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } | 222 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec
tedByPseudoContent(); } |
223 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } | 223 bool relationIsAffectedByPseudoContent() const { return m_selector->relation
IsAffectedByPseudoContent(); } |
224 void setMatchUserAgentOnly() { m_selector->setMatchUserAgentOnly(); } | |
225 | 224 |
226 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
; | 225 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
; |
227 | 226 |
228 CSSParserSelector* functionArgumentSelector() const { return m_functionArgum
entSelector; } | 227 CSSParserSelector* functionArgumentSelector() const { return m_functionArgum
entSelector; } |
229 void setFunctionArgumentSelector(CSSParserSelector* selector) { m_functionAr
gumentSelector = selector; } | 228 void setFunctionArgumentSelector(CSSParserSelector* selector) { m_functionAr
gumentSelector = selector; } |
230 bool isDistributedPseudoElement() const { return m_selector->isDistributedPs
eudoElement(); } | 229 bool isDistributedPseudoElement() const { return m_selector->isDistributedPs
eudoElement(); } |
231 CSSParserSelector* findDistributedPseudoElementSelector() const; | 230 CSSParserSelector* findDistributedPseudoElementSelector() const; |
232 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem
ent(); } | 231 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem
ent(); } |
233 | 232 |
234 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } | 233 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType()
; } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 inline void CSSParserValue::setFromFunction(CSSParserFunction* function) | 266 inline void CSSParserValue::setFromFunction(CSSParserFunction* function) |
268 { | 267 { |
269 id = CSSValueInvalid; | 268 id = CSSValueInvalid; |
270 this->function = function; | 269 this->function = function; |
271 unit = Function; | 270 unit = Function; |
272 } | 271 } |
273 | 272 |
274 } | 273 } |
275 | 274 |
276 #endif | 275 #endif |
OLD | NEW |