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

Side by Side Diff: Source/core/css/parser/BisonCSSParser.h

Issue 103413006: Implement parsing of the new ellipse shape syntax. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase after CSSParser rename Created 6 years, 11 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
« no previous file with comments | « Source/core/css/CSSBasicShapes.cpp ('k') | Source/core/css/parser/BisonCSSParser-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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 bool parseClipShape(CSSPropertyID, bool important); 177 bool parseClipShape(CSSPropertyID, bool important);
178 178
179 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); 179 PassRefPtr<CSSValue> parseShapeProperty(CSSPropertyID propId);
180 PassRefPtr<CSSPrimitiveValue> parseBasicShape(); 180 PassRefPtr<CSSPrimitiveValue> parseBasicShape();
181 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*); 181 PassRefPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*);
182 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; 182 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ;
183 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args); 183 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args);
184 PassRefPtr<CSSBasicShape> parseDeprecatedBasicShapeCircle(CSSParserValueList * args); 184 PassRefPtr<CSSBasicShape> parseDeprecatedBasicShapeCircle(CSSParserValueList * args);
185 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args); 185 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args);
186 PassRefPtr<CSSBasicShape> parseDeprecatedBasicShapeEllipse(CSSParserValueLis t*);
186 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args); 187 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args);
187 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args); 188 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args);
188 189
189 bool parseFont(bool important); 190 bool parseFont(bool important);
190 PassRefPtr<CSSValueList> parseFontFamily(); 191 PassRefPtr<CSSValueList> parseFontFamily();
191 192
192 bool parseCounter(CSSPropertyID, int defaultValue, bool important); 193 bool parseCounter(CSSPropertyID, int defaultValue, bool important);
193 PassRefPtr<CSSValue> parseCounterContent(CSSParserValueList* args, bool coun ters); 194 PassRefPtr<CSSValue> parseCounterContent(CSSParserValueList* args, bool coun ters);
194 195
195 bool parseColorParameters(CSSParserValue*, int* colorValues, bool parseAlpha ); 196 bool parseColorParameters(CSSParserValue*, int* colorValues, bool parseAlpha );
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 bool isValidNthToken(const CSSParserString&); 636 bool isValidNthToken(const CSSParserString&);
636 637
637 inline int cssyylex(void* yylval, BisonCSSParser* parser) 638 inline int cssyylex(void* yylval, BisonCSSParser* parser)
638 { 639 {
639 return parser->m_tokenizer.lex(yylval); 640 return parser->m_tokenizer.lex(yylval);
640 } 641 }
641 642
642 } // namespace WebCore 643 } // namespace WebCore
643 644
644 #endif // CSSParser_h 645 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSBasicShapes.cpp ('k') | Source/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698