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

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

Issue 1523803002: Move justify-content/align-content properties into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 4 years, 10 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat); 177 bool parseGridTrackRepeatFunction(CSSValueList&, bool& isAutoRepeat);
178 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList, TrackSizeRestriction = AllowAll); 178 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList, TrackSizeRestriction = AllowAll);
179 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*, TrackSizeRestriction = AllowAll); 179 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*, TrackSizeRestriction = AllowAll);
180 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); 180 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&);
181 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); 181 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas();
182 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = nullptr); 182 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = nullptr);
183 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); 183 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&);
184 184
185 PassRefPtrWillBeRawPtr<CSSValue> parseLegacyPosition(); 185 PassRefPtrWillBeRawPtr<CSSValue> parseLegacyPosition();
186 PassRefPtrWillBeRawPtr<CSSValue> parseItemPositionOverflowPosition(); 186 PassRefPtrWillBeRawPtr<CSSValue> parseItemPositionOverflowPosition();
187 PassRefPtrWillBeRawPtr<CSSValue> parseContentDistributionOverflowPosition();
188 187
189 bool consumeFont(bool important); 188 bool consumeFont(bool important);
190 bool consumeSystemFont(bool important); 189 bool consumeSystemFont(bool important);
191 190
192 bool consumeBorderSpacing(bool important); 191 bool consumeBorderSpacing(bool important);
193 192
194 bool parseColorParameters(const CSSParserValue*, int* colorValues, bool pars eAlpha); 193 bool parseColorParameters(const CSSParserValue*, int* colorValues, bool pars eAlpha);
195 bool parseHSLParameters(const CSSParserValue*, double* colorValues, bool par seAlpha); 194 bool parseHSLParameters(const CSSParserValue*, double* colorValues, bool par seAlpha);
196 PassRefPtrWillBeRawPtr<CSSValue> parseColor(const CSSParserValue*, bool acce ptQuirkyColors = false); 195 PassRefPtrWillBeRawPtr<CSSValue> parseColor(const CSSParserValue*, bool acce ptQuirkyColors = false);
197 bool parseColorFromValue(const CSSParserValue*, RGBA32&, bool acceptQuirkyCo lors = false); 196 bool parseColorFromValue(const CSSParserValue*, RGBA32&, bool acceptQuirkyCo lors = false);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 bool m_implicitShorthand; 310 bool m_implicitShorthand;
312 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 311 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
313 }; 312 };
314 313
315 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 314 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
316 CSSValueID cssValueKeywordID(const CSSParserString&); 315 CSSValueID cssValueKeywordID(const CSSParserString&);
317 316
318 } // namespace blink 317 } // namespace blink
319 318
320 #endif // CSSPropertyParser_h 319 #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