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

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

Issue 103413006: Implement parsing of the new ellipse shape syntax. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 bool parseGridTrackList(CSSPropertyID, bool important); 185 bool parseGridTrackList(CSSPropertyID, bool important);
186 bool parseGridTrackRepeatFunction(CSSValueList&); 186 bool parseGridTrackRepeatFunction(CSSValueList&);
187 PassRefPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList); 187 PassRefPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList);
188 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 188 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
189 PassRefPtr<CSSValue> parseGridTemplate(); 189 PassRefPtr<CSSValue> parseGridTemplate();
190 void parseGridLineNames(CSSParserValueList* inputList, CSSValueList&); 190 void parseGridLineNames(CSSParserValueList* inputList, CSSValueList&);
191 191
192 bool parseClipShape(CSSPropertyID, bool important); 192 bool parseClipShape(CSSPropertyID, bool important);
193 193
194 bool parseBasicShape(CSSPropertyID, bool important); 194 bool parseBasicShape(CSSPropertyID, bool important);
195 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*);
195 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; 196 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ;
196 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args); 197 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args);
198 PassRefPtr<CSSBasicShape> parseDeprecatedBasicShapeCircle(CSSParserValueList * args);
197 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args); 199 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args);
200 PassRefPtr<CSSBasicShape> parseDeprecatedBasicShapeEllipse(CSSParserValueLis t*);
198 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args); 201 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args);
199 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args); 202 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args);
200 203
201 bool parseFont(bool important); 204 bool parseFont(bool important);
202 PassRefPtr<CSSValueList> parseFontFamily(); 205 PassRefPtr<CSSValueList> parseFontFamily();
203 206
204 bool parseCounter(CSSPropertyID, int defaultValue, bool important); 207 bool parseCounter(CSSPropertyID, int defaultValue, bool important);
205 PassRefPtr<CSSValue> parseCounterContent(CSSParserValueList* args, bool coun ters); 208 PassRefPtr<CSSValue> parseCounterContent(CSSParserValueList* args, bool coun ters);
206 209
207 bool parseColorParameters(CSSParserValue*, int* colorValues, bool parseAlpha ); 210 bool parseColorParameters(CSSParserValue*, int* colorValues, bool parseAlpha );
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 bool isValidNthToken(const CSSParserString&); 668 bool isValidNthToken(const CSSParserString&);
666 669
667 inline int cssyylex(void* yylval, CSSParser* parser) 670 inline int cssyylex(void* yylval, CSSParser* parser)
668 { 671 {
669 return parser->m_tokenizer.lex(yylval); 672 return parser->m_tokenizer.lex(yylval);
670 } 673 }
671 674
672 } // namespace WebCore 675 } // namespace WebCore
673 676
674 #endif // CSSParser_h 677 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698