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

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

Issue 330043003: Add support for case-insensitive attribute value selectors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move zero-initialization of m_bits to RareData constructor (explicitly). Created 6 years, 4 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
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, CSSSelector::AttributeMatchTyp e matchType) { m_selector->setAttribute(value, matchType); }
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 { 281 {
282 id = CSSValueInvalid; 282 id = CSSValueInvalid;
283 this->valueList = valueList.leakPtr(); 283 this->valueList = valueList.leakPtr();
284 unit = ValueList; 284 unit = ValueList;
285 isInt = false; 285 isInt = false;
286 } 286 }
287 287
288 } 288 }
289 289
290 #endif 290 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698