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

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

Issue 23528004: [CSS Grid Layout] Update named grid lines syntax to the last version of the specs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@named
Patch Set: Added some new tests Created 7 years, 3 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 PassRefPtr<CSSValue> parseGridPosition(); 176 PassRefPtr<CSSValue> parseGridPosition();
177 bool parseIntegerOrStringFromGridPosition(RefPtr<CSSPrimitiveValue>& numeric Value, RefPtr<CSSPrimitiveValue>& gridLineName); 177 bool parseIntegerOrStringFromGridPosition(RefPtr<CSSPrimitiveValue>& numeric Value, RefPtr<CSSPrimitiveValue>& gridLineName);
178 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); 178 bool parseGridItemPositionShorthand(CSSPropertyID, bool important);
179 bool parseGridAreaShorthand(bool important); 179 bool parseGridAreaShorthand(bool important);
180 bool parseSingleGridAreaLonghand(RefPtr<CSSValue>&); 180 bool parseSingleGridAreaLonghand(RefPtr<CSSValue>&);
181 bool parseGridTrackList(CSSPropertyID, bool important); 181 bool parseGridTrackList(CSSPropertyID, bool important);
182 bool parseGridTrackRepeatFunction(CSSValueList&); 182 bool parseGridTrackRepeatFunction(CSSValueList&);
183 PassRefPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList); 183 PassRefPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inputList);
184 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 184 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
185 PassRefPtr<CSSValue> parseGridTemplate(); 185 PassRefPtr<CSSValue> parseGridTemplate();
186 void parseGridLineNames(CSSParserValueList*, CSSValueList&);
186 187
187 bool parseClipShape(CSSPropertyID, bool important); 188 bool parseClipShape(CSSPropertyID, bool important);
188 189
189 bool parseBasicShape(CSSPropertyID, bool important); 190 bool parseBasicShape(CSSPropertyID, bool important);
190 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; 191 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ;
191 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args); 192 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args);
192 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args); 193 PassRefPtr<CSSBasicShape> parseBasicShapeEllipse(CSSParserValueList* args);
193 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args); 194 PassRefPtr<CSSBasicShape> parseBasicShapePolygon(CSSParserValueList* args);
194 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args); 195 PassRefPtr<CSSBasicShape> parseBasicShapeInsetRectangle(CSSParserValueList* args);
195 196
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 } 762 }
762 763
763 inline int cssyylex(void* yylval, CSSParser* parser) 764 inline int cssyylex(void* yylval, CSSParser* parser)
764 { 765 {
765 return parser->lex(yylval); 766 return parser->lex(yylval);
766 } 767 }
767 768
768 } // namespace WebCore 769 } // namespace WebCore
769 770
770 #endif // CSSParser_h 771 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698