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

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

Issue 205563004: Revert of Implement /content/ combinator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed patch conflict Created 6 years, 9 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 | « Source/core/css/CSSGrammar.y ('k') | Source/core/css/CSSSelector.h » ('j') | no next file with comments »
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec tedByPseudoContent(); } 227 void setRelationIsAffectedByPseudoContent() { m_selector->setRelationIsAffec tedByPseudoContent(); }
228 bool relationIsAffectedByPseudoContent() const { return m_selector->relation IsAffectedByPseudoContent(); } 228 bool relationIsAffectedByPseudoContent() const { return m_selector->relation IsAffectedByPseudoContent(); }
229 229
230 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector) ; 230 void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector) ;
231 231
232 CSSParserSelector* functionArgumentSelector() const { return m_functionArgum entSelector; } 232 CSSParserSelector* functionArgumentSelector() const { return m_functionArgum entSelector; }
233 void setFunctionArgumentSelector(CSSParserSelector* selector) { m_functionAr gumentSelector = selector; } 233 void setFunctionArgumentSelector(CSSParserSelector* selector) { m_functionAr gumentSelector = selector; }
234 bool isDistributedPseudoElement() const { return m_selector->isDistributedPs eudoElement(); } 234 bool isDistributedPseudoElement() const { return m_selector->isDistributedPs eudoElement(); }
235 CSSParserSelector* findDistributedPseudoElementSelector() const; 235 CSSParserSelector* findDistributedPseudoElementSelector() const;
236 bool hasHostPseudoSelector() const; 236 bool hasHostPseudoSelector() const;
237 bool isContentPseudoElement() const { return m_selector->isContentPseudoElem ent(); }
237 238
238 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType() ; } 239 CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType() ; }
239 bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElemen t(); } 240 bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElemen t(); }
240 bool needsCrossingTreeScopeBoundary() const { return isCustomPseudoElement() || pseudoType() == CSSSelector::PseudoCue; } 241 bool needsCrossingTreeScopeBoundary() const { return isCustomPseudoElement() || pseudoType() == CSSSelector::PseudoCue; }
241 242
242 bool isSimple() const; 243 bool isSimple() const;
243 bool hasShadowPseudo() const; 244 bool hasShadowPseudo() const;
244 245
245 CSSParserSelector* tagHistory() const { return m_tagHistory.get(); } 246 CSSParserSelector* tagHistory() const { return m_tagHistory.get(); }
246 void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; } 247 void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu eList) 282 inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu eList)
282 { 283 {
283 id = CSSValueInvalid; 284 id = CSSValueInvalid;
284 this->valueList = valueList.leakPtr(); 285 this->valueList = valueList.leakPtr();
285 unit = ValueList; 286 unit = ValueList;
286 } 287 }
287 288
288 } 289 }
289 290
290 #endif 291 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSGrammar.y ('k') | Source/core/css/CSSSelector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698