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

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

Issue 14907011: Support 'paint-order' from SVG2. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix review issues and add paint-order for text too Created 7 years, 5 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
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 bool parseFontVariant(bool important); 197 bool parseFontVariant(bool important);
198 bool parseFontWeight(bool important); 198 bool parseFontWeight(bool important);
199 bool parseFontFaceSrc(); 199 bool parseFontFaceSrc();
200 bool parseFontFaceUnicodeRange(); 200 bool parseFontFaceUnicodeRange();
201 201
202 bool parseSVGValue(CSSPropertyID propId, bool important); 202 bool parseSVGValue(CSSPropertyID propId, bool important);
203 PassRefPtr<CSSValue> parseSVGPaint(); 203 PassRefPtr<CSSValue> parseSVGPaint();
204 PassRefPtr<CSSValue> parseSVGColor(); 204 PassRefPtr<CSSValue> parseSVGColor();
205 PassRefPtr<CSSValue> parseSVGStrokeDasharray(); 205 PassRefPtr<CSSValue> parseSVGStrokeDasharray();
206 206
207 PassRefPtr<CSSValue> parsePaintOrder() const;
208
207 // CSS3 Parsing Routines (for properties specific to CSS3) 209 // CSS3 Parsing Routines (for properties specific to CSS3)
208 PassRefPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPropertyID); 210 PassRefPtr<CSSValueList> parseShadow(CSSParserValueList*, CSSPropertyID);
209 bool parseBorderImage(CSSPropertyID, RefPtr<CSSValue>&, bool important = fal se); 211 bool parseBorderImage(CSSPropertyID, RefPtr<CSSValue>&, bool important = fal se);
210 bool parseBorderImageRepeat(RefPtr<CSSValue>&); 212 bool parseBorderImageRepeat(RefPtr<CSSValue>&);
211 bool parseBorderImageSlice(CSSPropertyID, RefPtr<CSSBorderImageSliceValue>&) ; 213 bool parseBorderImageSlice(CSSPropertyID, RefPtr<CSSBorderImageSliceValue>&) ;
212 bool parseBorderImageWidth(RefPtr<CSSPrimitiveValue>&); 214 bool parseBorderImageWidth(RefPtr<CSSPrimitiveValue>&);
213 bool parseBorderImageOutset(RefPtr<CSSPrimitiveValue>&); 215 bool parseBorderImageOutset(RefPtr<CSSPrimitiveValue>&);
214 bool parseBorderRadius(CSSPropertyID, bool important); 216 bool parseBorderRadius(CSSPropertyID, bool important);
215 217
216 bool parseAspectRatio(bool important); 218 bool parseAspectRatio(bool important);
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 } 738 }
737 739
738 inline int cssyylex(void* yylval, CSSParser* parser) 740 inline int cssyylex(void* yylval, CSSParser* parser)
739 { 741 {
740 return parser->lex(yylval); 742 return parser->lex(yylval);
741 } 743 }
742 744
743 } // namespace WebCore 745 } // namespace WebCore
744 746
745 #endif // CSSParser_h 747 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698