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

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

Issue 569563002: [CSSGridLayout] ASSERTION: Bad cast in parseGridTemplateRowsAndAreas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bool parseGridTemplateShorthand(bool important); 146 bool parseGridTemplateShorthand(bool important);
147 bool parseGridShorthand(bool important); 147 bool parseGridShorthand(bool important);
148 bool parseGridAreaShorthand(bool important); 148 bool parseGridAreaShorthand(bool important);
149 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); 149 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&);
150 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); 150 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList();
151 bool parseGridTrackRepeatFunction(CSSValueList&); 151 bool parseGridTrackRepeatFunction(CSSValueList&);
152 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList); 152 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList);
153 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 153 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
154 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); 154 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&);
155 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); 155 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas();
156 void parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = 0); 156 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = 0);
157 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); 157 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&);
158 158
159 bool parseClipShape(CSSPropertyID, bool important); 159 bool parseClipShape(CSSPropertyID, bool important);
160 160
161 bool parseLegacyPosition(CSSPropertyID, bool important); 161 bool parseLegacyPosition(CSSPropertyID, bool important);
162 bool parseItemPositionOverflowPosition(CSSPropertyID, bool important); 162 bool parseItemPositionOverflowPosition(CSSPropertyID, bool important);
163 163
164 PassRefPtrWillBeRawPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); 164 PassRefPtrWillBeRawPtr<CSSValue> parseShapeProperty(CSSPropertyID propId);
165 PassRefPtrWillBeRawPtr<CSSValue> parseBasicShapeAndOrBox(); 165 PassRefPtrWillBeRawPtr<CSSValue> parseBasicShapeAndOrBox();
166 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseBasicShape(); 166 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseBasicShape();
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 CSSPropertyID cssPropertyID(const CSSParserString&); 382 CSSPropertyID cssPropertyID(const CSSParserString&);
383 CSSPropertyID cssPropertyID(const String&); 383 CSSPropertyID cssPropertyID(const String&);
384 CSSValueID cssValueKeywordID(const CSSParserString&); 384 CSSValueID cssValueKeywordID(const CSSParserString&);
385 385
386 bool isKeywordPropertyID(CSSPropertyID); 386 bool isKeywordPropertyID(CSSPropertyID);
387 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 387 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
388 388
389 } // namespace blink 389 } // namespace blink
390 390
391 #endif // CSSPropertyParser_h 391 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698