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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
205 PassOwnPtr<CSSSelector> releaseSelector() { return m_selector.release(); } | 205 PassOwnPtr<CSSSelector> releaseSelector() { return m_selector.release(); } |
206 | 206 |
207 CSSSelector::Relation relation() const { return m_selector->relation(); } | 207 CSSSelector::Relation relation() const { return m_selector->relation(); } |
208 void setValue(const AtomicString& value) { m_selector->setValue(value); } | 208 void setValue(const AtomicString& value) { m_selector->setValue(value); } |
209 void setAttribute(const QualifiedName& value) { m_selector->setAttribute(val ue); } | 209 void setAttribute(const QualifiedName& value) { m_selector->setAttribute(val ue); } |
210 void setArgument(const AtomicString& value) { m_selector->setArgument(value) ; } | 210 void setArgument(const AtomicString& value) { m_selector->setArgument(value) ; } |
211 void setMatch(CSSSelector::Match value) { m_selector->m_match = value; } | 211 void setMatch(CSSSelector::Match value) { m_selector->m_match = value; } |
212 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val ue; } | 212 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val ue; } |
213 void setForPage() { m_selector->setForPage(); } | 213 void setForPage() { m_selector->setForPage(); } |
214 void setRelationIsForShadowDistributed() { m_selector->setRelationIsForShado wDistributed(); } | 214 void setRelationIsForShadowDistributed() { m_selector->setRelationIsForShado wDistributed(); } |
215 bool relationIsForShadowDistributed() const { return m_selector->relationIsF orShadowDistributed(); } | |
hayato
2013/08/01 02:34:29
Could you change the name of the relation?
Now it'
tasak
2013/08/01 03:31:44
Done.
| |
215 | 216 |
216 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector) ; | 217 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector) ; |
217 | 218 |
218 CSSParserSelector* functionArgumentSelector() const { return m_functionArgum entSelector; } | 219 CSSParserSelector* functionArgumentSelector() const { return m_functionArgum entSelector; } |
219 void setFunctionArgumentSelector(CSSParserSelector* selector) { m_functionAr gumentSelector = selector; } | 220 void setFunctionArgumentSelector(CSSParserSelector* selector) { m_functionAr gumentSelector = selector; } |
220 bool isDistributedPseudoElement() const { return m_selector->isDistributedPs eudoElement(); } | 221 bool isDistributedPseudoElement() const { return m_selector->isDistributedPs eudoElement(); } |
221 CSSParserSelector* findDistributedPseudoElementSelector() const; | 222 CSSParserSelector* findDistributedPseudoElementSelector() const; |
223 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem ent(); } | |
222 | 224 |
223 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType() ; } | 225 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType() ; } |
224 bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElemen t(); } | 226 bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElemen t(); } |
225 | 227 |
226 bool isSimple() const; | 228 bool isSimple() const; |
227 bool hasShadowPseudo() const; | 229 bool hasShadowPseudo() const; |
228 | 230 |
229 CSSParserSelector* tagHistory() const { return m_tagHistory.get(); } | 231 CSSParserSelector* tagHistory() const { return m_tagHistory.get(); } |
230 void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; } | 232 void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; } |
231 void clearTagHistory() { m_tagHistory.clear(); } | 233 void clearTagHistory() { m_tagHistory.clear(); } |
(...skipping 23 matching lines...) Expand all Loading... | |
255 inline void CSSParserValue::setFromFunction(CSSParserFunction* function) | 257 inline void CSSParserValue::setFromFunction(CSSParserFunction* function) |
256 { | 258 { |
257 id = CSSValueInvalid; | 259 id = CSSValueInvalid; |
258 this->function = function; | 260 this->function = function; |
259 unit = Function; | 261 unit = Function; |
260 } | 262 } |
261 | 263 |
262 } | 264 } |
263 | 265 |
264 #endif | 266 #endif |
OLD | NEW |