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

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

Issue 98723006: Parse new circle shape syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix stated issues 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
« no previous file with comments | « Source/core/css/CSSBasicShapes.cpp ('k') | Source/core/css/CSSParser-in.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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); 194 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId);
195 PassRefPtr<CSSPrimitiveValue> parseBasicShape(); 195 PassRefPtr<CSSPrimitiveValue> parseBasicShape();
196 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*);
196 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; 197 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ;
197 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args); 198 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args);
199 PassRefPtr<CSSBasicShape> parseDeprecatedBasicShapeCircle(CSSParserValueList * args);
198 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args); 200 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args);
199 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args); 201 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args);
200 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args); 202 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args);
201 203
202 bool parseFont(bool important); 204 bool parseFont(bool important);
203 PassRefPtr<CSSValueList> parseFontFamily(); 205 PassRefPtr<CSSValueList> parseFontFamily();
204 206
205 bool parseCounter(CSSPropertyID, int defaultValue, bool important); 207 bool parseCounter(CSSPropertyID, int defaultValue, bool important);
206 PassRefPtr<CSSValue> parseCounterContent(CSSParserValueList* args, bool coun ters); 208 PassRefPtr<CSSValue> parseCounterContent(CSSParserValueList* args, bool coun ters);
207 209
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 bool isValidNthToken(const CSSParserString&); 670 bool isValidNthToken(const CSSParserString&);
669 671
670 inline int cssyylex(void* yylval, CSSParser* parser) 672 inline int cssyylex(void* yylval, CSSParser* parser)
671 { 673 {
672 return parser->m_tokenizer.lex(yylval); 674 return parser->m_tokenizer.lex(yylval);
673 } 675 }
674 676
675 } // namespace WebCore 677 } // namespace WebCore
676 678
677 #endif // CSSParser_h 679 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSBasicShapes.cpp ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698