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

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

Issue 176853007: [CSS Grid Layout] Implementation of the grid shorthand. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed compilation error in debug. Created 6 years, 8 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/RuntimeCSSEnabled.cpp ('k') | Source/core/css/parser/CSSPropertyParser.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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 PassRefPtrWillBeRawPtr<CSSValue> parseColumnWidth(); 148 PassRefPtrWillBeRawPtr<CSSValue> parseColumnWidth();
149 PassRefPtrWillBeRawPtr<CSSValue> parseColumnCount(); 149 PassRefPtrWillBeRawPtr<CSSValue> parseColumnCount();
150 bool parseColumnsShorthand(bool important); 150 bool parseColumnsShorthand(bool important);
151 151
152 PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition(); 152 PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition();
153 bool parseIntegerOrStringFromGridPosition(RefPtrWillBeRawPtr<CSSPrimitiveVal ue>& numericValue, RefPtrWillBeRawPtr<CSSPrimitiveValue>& gridLineName); 153 bool parseIntegerOrStringFromGridPosition(RefPtrWillBeRawPtr<CSSPrimitiveVal ue>& numericValue, RefPtrWillBeRawPtr<CSSPrimitiveValue>& gridLineName);
154 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); 154 bool parseGridItemPositionShorthand(CSSPropertyID, bool important);
155 bool parseGridTemplateRowsAndAreas(PassRefPtrWillBeRawPtr<CSSValue>, bool im portant); 155 bool parseGridTemplateRowsAndAreas(PassRefPtrWillBeRawPtr<CSSValue>, bool im portant);
156 bool parseGridTemplateShorthand(bool important); 156 bool parseGridTemplateShorthand(bool important);
157 bool parseGridShorthand(bool important);
157 bool parseGridAreaShorthand(bool important); 158 bool parseGridAreaShorthand(bool important);
158 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); 159 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&);
159 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(bool important); 160 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(bool important);
160 bool parseGridTrackRepeatFunction(CSSValueList&); 161 bool parseGridTrackRepeatFunction(CSSValueList&);
161 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList); 162 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList);
162 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 163 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
163 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); 164 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&);
164 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); 165 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas();
165 void parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = 0); 166 void parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = 0);
166 167
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 CSSPropertyID cssPropertyID(const CSSParserString&); 402 CSSPropertyID cssPropertyID(const CSSParserString&);
402 CSSPropertyID cssPropertyID(const String&); 403 CSSPropertyID cssPropertyID(const String&);
403 CSSValueID cssValueKeywordID(const CSSParserString&); 404 CSSValueID cssValueKeywordID(const CSSParserString&);
404 405
405 bool isKeywordPropertyID(CSSPropertyID); 406 bool isKeywordPropertyID(CSSPropertyID);
406 bool isValidKeywordPropertyAndValue(CSSPropertyID, int valueID, const CSSParserC ontext&); 407 bool isValidKeywordPropertyAndValue(CSSPropertyID, int valueID, const CSSParserC ontext&);
407 408
408 } // namespace WebCore 409 } // namespace WebCore
409 410
410 #endif // CSSPropertyParser_h 411 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « Source/core/css/RuntimeCSSEnabled.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698