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

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

Issue 1442233002: Move stroke-dasharray property into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 5 years 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
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 bool parseColorParameters(const CSSParserValue*, int* colorValues, bool pars eAlpha); 192 bool parseColorParameters(const CSSParserValue*, int* colorValues, bool pars eAlpha);
193 bool parseHSLParameters(const CSSParserValue*, double* colorValues, bool par seAlpha); 193 bool parseHSLParameters(const CSSParserValue*, double* colorValues, bool par seAlpha);
194 PassRefPtrWillBeRawPtr<CSSValue> parseColor(const CSSParserValue*, bool acce ptQuirkyColors = false); 194 PassRefPtrWillBeRawPtr<CSSValue> parseColor(const CSSParserValue*, bool acce ptQuirkyColors = false);
195 bool parseColorFromValue(const CSSParserValue*, RGBA32&, bool acceptQuirkyCo lors = false); 195 bool parseColorFromValue(const CSSParserValue*, RGBA32&, bool acceptQuirkyCo lors = false);
196 196
197 bool acceptQuirkyColors(CSSPropertyID) const; 197 bool acceptQuirkyColors(CSSPropertyID) const;
198 198
199 PassRefPtrWillBeRawPtr<CSSValueList> consumeFontFaceSrc(); 199 PassRefPtrWillBeRawPtr<CSSValueList> consumeFontFaceSrc();
200 200
201 bool parseSVGValue(CSSPropertyID propId, bool important); 201 bool parseSVGValue(CSSPropertyID propId, bool important);
202 PassRefPtrWillBeRawPtr<CSSValue> parseSVGStrokeDasharray();
203 202
204 // CSS3 Parsing Routines (for properties specific to CSS3) 203 // CSS3 Parsing Routines (for properties specific to CSS3)
205 bool parseBorderImageShorthand(CSSPropertyID, bool important); 204 bool parseBorderImageShorthand(CSSPropertyID, bool important);
206 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID); 205 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID);
207 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&); 206 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&);
208 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS liceValue>&); 207 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS liceValue>&);
209 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&); 208 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&);
210 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&); 209 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&);
211 bool parseBorderRadius(CSSPropertyID, bool important); 210 bool parseBorderRadius(CSSPropertyID, bool important);
212 211
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 bool m_implicitShorthand; 332 bool m_implicitShorthand;
334 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 333 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
335 }; 334 };
336 335
337 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 336 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
338 CSSValueID cssValueKeywordID(const CSSParserString&); 337 CSSValueID cssValueKeywordID(const CSSParserString&);
339 338
340 } // namespace blink 339 } // namespace blink
341 340
342 #endif // CSSPropertyParser_h 341 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698