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

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

Issue 1449213002: Parse flex/flex-flow shorthands in CSSPropertyParser with CSSParserTokens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 5 years, 1 month 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 bool parseBorderImageShorthand(CSSPropertyID, bool important); 203 bool parseBorderImageShorthand(CSSPropertyID, bool important);
204 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID); 204 PassRefPtrWillBeRawPtr<CSSValue> parseBorderImage(CSSPropertyID);
205 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&); 205 bool parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>&);
206 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS liceValue>&); 206 bool parseBorderImageSlice(CSSPropertyID, RefPtrWillBeRawPtr<CSSBorderImageS liceValue>&);
207 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&); 207 bool parseBorderImageWidth(RefPtrWillBeRawPtr<CSSQuadValue>&);
208 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&); 208 bool parseBorderImageOutset(RefPtrWillBeRawPtr<CSSQuadValue>&);
209 bool parseBorderRadius(CSSPropertyID, bool important); 209 bool parseBorderRadius(CSSPropertyID, bool important);
210 210
211 PassRefPtrWillBeRawPtr<CSSValue> parseReflect(); 211 PassRefPtrWillBeRawPtr<CSSValue> parseReflect();
212 212
213 bool parseFlex(CSSParserValueList* args, bool important); 213 bool consumeFlex(bool important);
214 214
215 PassRefPtrWillBeRawPtr<CSSValue> parsePosition(CSSParserValueList*); 215 PassRefPtrWillBeRawPtr<CSSValue> parsePosition(CSSParserValueList*);
216 PassRefPtrWillBeRawPtr<CSSValueList> parsePositionList(CSSParserValueList*); 216 PassRefPtrWillBeRawPtr<CSSValueList> parsePositionList(CSSParserValueList*);
217 217
218 // Image generators 218 // Image generators
219 bool parseDeprecatedGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValu e>&); 219 bool parseDeprecatedGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValu e>&);
220 bool parseDeprecatedLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating); 220 bool parseDeprecatedLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating);
221 bool parseDeprecatedRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating); 221 bool parseDeprecatedRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<C SSValue>&, CSSGradientRepeat repeating);
222 bool parseLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating); 222 bool parseLinearGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating);
223 bool parseRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating); 223 bool parseRadialGradient(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&, CSSGradientRepeat repeating);
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 bool m_implicitShorthand; 331 bool m_implicitShorthand;
332 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 332 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
333 }; 333 };
334 334
335 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 335 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
336 CSSValueID cssValueKeywordID(const CSSParserString&); 336 CSSValueID cssValueKeywordID(const CSSParserString&);
337 337
338 } // namespace blink 338 } // namespace blink
339 339
340 #endif // CSSPropertyParser_h 340 #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