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

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

Issue 1776983003: Move some grid related longhands into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V3 Created 4 years, 9 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 | « no previous file | third_party/WebKit/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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); 130 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&);
131 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); 131 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList();
132 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat); 132 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat);
133 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList, TrackSizeRestriction = AllowAll); 133 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList, TrackSizeRestriction = AllowAll);
134 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*, TrackSizeRestriction = AllowAll); 134 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*, TrackSizeRestriction = AllowAll);
135 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); 135 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&);
136 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); 136 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas();
137 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = nullptr); 137 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = nullptr);
138 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); 138 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&);
139 139
140 PassRefPtrWillBeRawPtr<CSSValue> parseLegacyPosition();
141 PassRefPtrWillBeRawPtr<CSSValue> parseItemPositionOverflowPosition();
142
143 bool consumeFont(bool important); 140 bool consumeFont(bool important);
144 bool consumeSystemFont(bool important); 141 bool consumeSystemFont(bool important);
145 142
146 bool consumeBorderSpacing(bool important); 143 bool consumeBorderSpacing(bool important);
147 144
148 // CSS3 Parsing Routines (for properties specific to CSS3) 145 // CSS3 Parsing Routines (for properties specific to CSS3)
149 bool consumeBorderImage(CSSPropertyID, bool important); 146 bool consumeBorderImage(CSSPropertyID, bool important);
150 147
151 bool consumeFlex(bool important); 148 bool consumeFlex(bool important);
152 149
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 bool m_implicitShorthand; 223 bool m_implicitShorthand;
227 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 224 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
228 }; 225 };
229 226
230 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 227 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
231 CSSValueID cssValueKeywordID(const CSSParserString&); 228 CSSValueID cssValueKeywordID(const CSSParserString&);
232 229
233 } // namespace blink 230 } // namespace blink
234 231
235 #endif // CSSPropertyParser_h 232 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698