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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h

Issue 1398553002: Move counter-increment/counter-reset handling into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work around ::lowest problem Created 5 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('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 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 PassRefPtrWillBeRawPtr<CSSBasicShapeCircleValue> parseBasicShapeCircle(CSSPa rserValueList* args); 193 PassRefPtrWillBeRawPtr<CSSBasicShapeCircleValue> parseBasicShapeCircle(CSSPa rserValueList* args);
194 PassRefPtrWillBeRawPtr<CSSBasicShapeEllipseValue> parseBasicShapeEllipse(CSS ParserValueList* args); 194 PassRefPtrWillBeRawPtr<CSSBasicShapeEllipseValue> parseBasicShapeEllipse(CSS ParserValueList* args);
195 PassRefPtrWillBeRawPtr<CSSBasicShapePolygonValue> parseBasicShapePolygon(CSS ParserValueList* args); 195 PassRefPtrWillBeRawPtr<CSSBasicShapePolygonValue> parseBasicShapePolygon(CSS ParserValueList* args);
196 PassRefPtrWillBeRawPtr<CSSBasicShapeInsetValue> parseBasicShapeInset(CSSPars erValueList* args); 196 PassRefPtrWillBeRawPtr<CSSBasicShapeInsetValue> parseBasicShapeInset(CSSPars erValueList* args);
197 197
198 bool consumeFont(bool important); 198 bool consumeFont(bool important);
199 bool consumeSystemFont(bool important); 199 bool consumeSystemFont(bool important);
200 200
201 bool consumeBorderSpacing(bool important); 201 bool consumeBorderSpacing(bool important);
202 202
203 PassRefPtrWillBeRawPtr<CSSValue> parseCounter(int defaultValue);
204 PassRefPtrWillBeRawPtr<CSSValue> parseCounterContent(CSSParserValueList* arg s, bool counters); 203 PassRefPtrWillBeRawPtr<CSSValue> parseCounterContent(CSSParserValueList* arg s, bool counters);
205 204
206 bool parseColorParameters(const CSSParserValue*, int* colorValues, bool pars eAlpha); 205 bool parseColorParameters(const CSSParserValue*, int* colorValues, bool pars eAlpha);
207 bool parseHSLParameters(const CSSParserValue*, double* colorValues, bool par seAlpha); 206 bool parseHSLParameters(const CSSParserValue*, double* colorValues, bool par seAlpha);
208 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseColor(const CSSParserValue*, bool acceptQuirkyColors = false); 207 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseColor(const CSSParserValue*, bool acceptQuirkyColors = false);
209 bool parseColorFromValue(const CSSParserValue*, RGBA32&, bool acceptQuirkyCo lors = false); 208 bool parseColorFromValue(const CSSParserValue*, RGBA32&, bool acceptQuirkyCo lors = false);
210 209
211 bool acceptQuirkyColors(CSSPropertyID) const; 210 bool acceptQuirkyColors(CSSPropertyID) const;
212 211
213 PassRefPtrWillBeRawPtr<CSSValueList> consumeFontFaceSrc(); 212 PassRefPtrWillBeRawPtr<CSSValueList> consumeFontFaceSrc();
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 bool m_implicitShorthand; 378 bool m_implicitShorthand;
380 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 379 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
381 }; 380 };
382 381
383 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 382 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
384 CSSValueID cssValueKeywordID(const CSSParserString&); 383 CSSValueID cssValueKeywordID(const CSSParserString&);
385 384
386 } // namespace blink 385 } // namespace blink
387 386
388 #endif // CSSPropertyParser_h 387 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698