Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: Source/core/css/CSSParserValues.h

Issue 322803004: Make all CSSSelector data members private (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix win dbg build error Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/css/CSSParserValues.cpp » ('j') | Source/core/css/CSSSelector.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) { m_selector->setAttribute(val ue); }
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->m_match = value; } 226 void setMatch(CSSSelector::Match value) { m_selector->setMatch(value); }
227 void setRelation(CSSSelector::Relation value) { m_selector->m_relation = val ue; } 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;
235 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem ent(); } 235 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem ent(); }
236 236
237 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType() ; } 237 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType() ; }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSParserValues.cpp » ('j') | Source/core/css/CSSSelector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698