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

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

Issue 474873002: Clean parsing for -webkit-transform-origin* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tweak logic to be clearer Created 6 years, 4 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 | 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDelay(); 124 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDelay();
125 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDirection(); 125 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDirection();
126 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDuration(); 126 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDuration();
127 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationFillMode(); 127 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationFillMode();
128 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationIterationCount(); 128 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationIterationCount();
129 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationName(); 129 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationName();
130 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationPlayState(); 130 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationPlayState();
131 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationProperty(); 131 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationProperty();
132 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationTimingFunction(); 132 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationTimingFunction();
133 133
134 bool parseWebkitTransformOriginShorthand(RefPtrWillBeRawPtr<CSSValue>&, RefP trWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&); 134 bool parseWebkitTransformOriginShorthand(bool important);
135 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result); 135 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result);
136 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationProperty(CSSPropertyID); 136 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationProperty(CSSPropertyID);
137 PassRefPtrWillBeRawPtr<CSSValueList> parseAnimationPropertyList(CSSPropertyI D); 137 PassRefPtrWillBeRawPtr<CSSValueList> parseAnimationPropertyList(CSSPropertyI D);
138 bool parseTransitionShorthand(CSSPropertyID, bool important); 138 bool parseTransitionShorthand(CSSPropertyID, bool important);
139 bool parseAnimationShorthand(CSSPropertyID, bool important); 139 bool parseAnimationShorthand(CSSPropertyID, bool important);
140 140
141 PassRefPtrWillBeRawPtr<CSSValue> parseColumnWidth(); 141 PassRefPtrWillBeRawPtr<CSSValue> parseColumnWidth();
142 PassRefPtrWillBeRawPtr<CSSValue> parseColumnCount(); 142 PassRefPtrWillBeRawPtr<CSSValue> parseColumnCount();
143 bool parseColumnsShorthand(bool important); 143 bool parseColumnsShorthand(bool important);
144 144
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*); 231 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*);
232 232
233 bool parseWillChange(bool important); 233 bool parseWillChange(bool important);
234 234
235 PassRefPtrWillBeRawPtr<CSSValueList> parseFilter(); 235 PassRefPtrWillBeRawPtr<CSSValueList> parseFilter();
236 PassRefPtrWillBeRawPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParser ValueList*, CSSFilterValue::FilterOperationType); 236 PassRefPtrWillBeRawPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParser ValueList*, CSSFilterValue::FilterOperationType);
237 237
238 PassRefPtrWillBeRawPtr<CSSValueList> parseTransformOrigin(); 238 PassRefPtrWillBeRawPtr<CSSValueList> parseTransformOrigin();
239 PassRefPtrWillBeRawPtr<CSSValueList> parseTransform(CSSPropertyID); 239 PassRefPtrWillBeRawPtr<CSSValueList> parseTransform(CSSPropertyID);
240 PassRefPtrWillBeRawPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParse rValue*); 240 PassRefPtrWillBeRawPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParse rValue*);
241 bool parseWebkitTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1 , CSSPropertyID& propId2, CSSPropertyID& propId3, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&);
242 bool parseWebkitPerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propI d1, CSSPropertyID& propId2, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<C SSValue>&); 241 bool parseWebkitPerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propI d1, CSSPropertyID& propId2, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<C SSValue>&);
243 242
244 bool parseTextEmphasisStyle(bool important); 243 bool parseTextEmphasisStyle(bool important);
245 244
246 bool parseTouchAction(bool important); 245 bool parseTouchAction(bool important);
247 246
248 void addTextDecorationProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu e>, bool important); 247 void addTextDecorationProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu e>, bool important);
249 bool parseTextDecoration(CSSPropertyID propId, bool important); 248 bool parseTextDecoration(CSSPropertyID propId, bool important);
250 bool parseTextUnderlinePosition(bool important); 249 bool parseTextUnderlinePosition(bool important);
251 250
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 CSSPropertyID cssPropertyID(const CSSParserString&); 394 CSSPropertyID cssPropertyID(const CSSParserString&);
396 CSSPropertyID cssPropertyID(const String&); 395 CSSPropertyID cssPropertyID(const String&);
397 CSSValueID cssValueKeywordID(const CSSParserString&); 396 CSSValueID cssValueKeywordID(const CSSParserString&);
398 397
399 bool isKeywordPropertyID(CSSPropertyID); 398 bool isKeywordPropertyID(CSSPropertyID);
400 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 399 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
401 400
402 } // namespace blink 401 } // namespace blink
403 402
404 #endif // CSSPropertyParser_h 403 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698