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

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

Issue 1401533005: Move clip property into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better solution Created 5 years, 2 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&); 172 bool parseSingleGridAreaLonghand(RefPtrWillBeRawPtr<CSSValue>&);
173 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList(); 173 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackList();
174 bool parseGridTrackRepeatFunction(CSSValueList&); 174 bool parseGridTrackRepeatFunction(CSSValueList&);
175 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList); 175 PassRefPtrWillBeRawPtr<CSSValue> parseGridTrackSize(CSSParserValueList& inpu tList);
176 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 176 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
177 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&); 177 bool parseGridTemplateAreasRow(NamedGridAreaMap&, const size_t, size_t&);
178 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas(); 178 PassRefPtrWillBeRawPtr<CSSValue> parseGridTemplateAreas();
179 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = nullptr); 179 bool parseGridLineNames(CSSParserValueList&, CSSValueList&, CSSGridLineNames Value* = nullptr);
180 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&); 180 PassRefPtrWillBeRawPtr<CSSValue> parseGridAutoFlow(CSSParserValueList&);
181 181
182 PassRefPtrWillBeRawPtr<CSSQuadValue> parseClipShape();
183
184 bool parseLegacyPosition(CSSPropertyID, bool important); 182 bool parseLegacyPosition(CSSPropertyID, bool important);
185 bool parseItemPositionOverflowPosition(CSSPropertyID, bool important); 183 bool parseItemPositionOverflowPosition(CSSPropertyID, bool important);
186 PassRefPtrWillBeRawPtr<CSSValue> parseContentDistributionOverflowPosition(); 184 PassRefPtrWillBeRawPtr<CSSValue> parseContentDistributionOverflowPosition();
187 185
188 PassRefPtrWillBeRawPtr<CSSValue> parseShapeProperty(CSSPropertyID propId); 186 PassRefPtrWillBeRawPtr<CSSValue> parseShapeProperty(CSSPropertyID propId);
189 PassRefPtrWillBeRawPtr<CSSValue> parseBasicShapeAndOrBox(); 187 PassRefPtrWillBeRawPtr<CSSValue> parseBasicShapeAndOrBox();
190 PassRefPtrWillBeRawPtr<CSSValue> parseBasicShape(); 188 PassRefPtrWillBeRawPtr<CSSValue> parseBasicShape();
191 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*); 189 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseShapeRadius(CSSParserValue*);
192 190
193 PassRefPtrWillBeRawPtr<CSSBasicShapeCircleValue> parseBasicShapeCircle(CSSPa rserValueList* args); 191 PassRefPtrWillBeRawPtr<CSSBasicShapeCircleValue> parseBasicShapeCircle(CSSPa rserValueList* args);
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 bool m_implicitShorthand; 363 bool m_implicitShorthand;
366 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation; 364 RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
367 }; 365 };
368 366
369 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&); 367 CSSPropertyID unresolvedCSSPropertyID(const CSSParserString&);
370 CSSValueID cssValueKeywordID(const CSSParserString&); 368 CSSValueID cssValueKeywordID(const CSSParserString&);
371 369
372 } // namespace blink 370 } // namespace blink
373 371
374 #endif // CSSPropertyParser_h 372 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698