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

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

Issue 1419223002: Move text-shadow/box-shadow properties into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failures Created 5 years, 1 month 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 bool acceptQuirkyColors(CSSPropertyID) const; 194 bool acceptQuirkyColors(CSSPropertyID) const;
195 195
196 PassRefPtrWillBeRawPtr<CSSValueList> consumeFontFaceSrc(); 196 PassRefPtrWillBeRawPtr<CSSValueList> consumeFontFaceSrc();
197 197
198 bool parseSVGValue(CSSPropertyID propId, bool important); 198 bool parseSVGValue(CSSPropertyID propId, bool important);
199 PassRefPtrWillBeRawPtr<CSSValue> parseSVGStrokeDasharray(); 199 PassRefPtrWillBeRawPtr<CSSValue> parseSVGStrokeDasharray();
200 200
201 PassRefPtrWillBeRawPtr<CSSValue> parsePaintOrder() const; 201 PassRefPtrWillBeRawPtr<CSSValue> parsePaintOrder() const;
202 202
203 // CSS3 Parsing Routines (for properties specific to CSS3) 203 // CSS3 Parsing Routines (for properties specific to CSS3)
204 PassRefPtrWillBeRawPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPro pertyID);
205 PassRefPtrWillBeRawPtr<CSSShadowValue> parseSingleShadow(CSSParserValueList* , bool allowInset, bool allowSpread); 204 PassRefPtrWillBeRawPtr<CSSShadowValue> parseSingleShadow(CSSParserValueList* , bool allowInset, bool allowSpread);
206 bool parseBorderImageShorthand(CSSPropertyID, bool important); 205 bool parseBorderImageShorthand(CSSPropertyID, bool important);
207 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID); 206 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID);
208 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&); 207 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&);
209 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS liceValue>&); 208 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS liceValue>&);
210 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&); 209 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&);
211 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&); 210 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&);
212 bool parseBorderRadius(CSSPropertyID, bool important); 211 bool parseBorderRadius(CSSPropertyID, bool important);
213 212
214 PassRefPtrWillBeRawPtr<CSSValue> parseReflect(); 213 PassRefPtrWillBeRawPtr<CSSValue> parseReflect();
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 bool m_implicitShorthand; 342 bool m_implicitShorthand;
344 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 343 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
345 }; 344 };
346 345
347 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 346 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
348 CSSValueID cssValueKeywordID(const CSSParserString&); 347 CSSValueID cssValueKeywordID(const CSSParserString&);
349 348
350 } // namespace blink 349 } // namespace blink
351 350
352 #endif // CSSPropertyParser_h 351 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698