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

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

Issue 98663004: Add support for unprefixed CSS Transforms (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 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 | Annotate | Revision Log
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 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDelay(); 130 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDelay();
131 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDirection(); 131 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDirection();
132 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDuration(); 132 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationDuration();
133 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationFillMode(); 133 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationFillMode();
134 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationIterationCount(); 134 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationIterationCount();
135 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationName(); 135 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationName();
136 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationPlayState(); 136 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationPlayState();
137 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationProperty(AnimationParseContex t&); 137 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationProperty(AnimationParseContex t&);
138 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationTimingFunction(); 138 PassRefPtrWillBeRawPtr<CSSValue> parseAnimationTimingFunction();
139 139
140 bool parseTransformOriginShorthand(RefPtrWillBeRawPtr<CSSValue>&, RefPtrWill BeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&); 140 bool parseWebkitTransformOriginShorthand(RefPtrWillBeRawPtr<CSSValue>&, RefP trWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&);
141 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result); 141 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result);
142 bool parseAnimationProperty(CSSPropertyID, RefPtrWillBeRawPtr<CSSValue>&, An imationParseContext&); 142 bool parseAnimationProperty(CSSPropertyID, RefPtrWillBeRawPtr<CSSValue>&, An imationParseContext&);
143 bool parseTransitionShorthand(CSSPropertyID, bool important); 143 bool parseTransitionShorthand(CSSPropertyID, bool important);
144 bool parseAnimationShorthand(CSSPropertyID, bool important); 144 bool parseAnimationShorthand(CSSPropertyID, bool important);
145 145
146 PassRefPtrWillBeRawPtr<CSSValue> parseColumnWidth(); 146 PassRefPtrWillBeRawPtr<CSSValue> parseColumnWidth();
147 PassRefPtrWillBeRawPtr<CSSValue> parseColumnCount(); 147 PassRefPtrWillBeRawPtr<CSSValue> parseColumnCount();
148 bool parseColumnsShorthand(bool important); 148 bool parseColumnsShorthand(bool important);
149 149
150 PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition(); 150 PassRefPtrWillBeRawPtr<CSSValue> parseGridPosition();
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*); 230 PassRefPtrWillBeRawPtr<CSSValue> parseImageSet(CSSParserValueList*);
231 231
232 bool parseWillChange(bool important); 232 bool parseWillChange(bool important);
233 233
234 PassRefPtrWillBeRawPtr<CSSValueList> parseFilter(); 234 PassRefPtrWillBeRawPtr<CSSValueList> parseFilter();
235 PassRefPtrWillBeRawPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParser ValueList*, CSSFilterValue::FilterOperationType); 235 PassRefPtrWillBeRawPtr<CSSFilterValue> parseBuiltinFilterArguments(CSSParser ValueList*, CSSFilterValue::FilterOperationType);
236 236
237 static bool isBlendMode(CSSValueID); 237 static bool isBlendMode(CSSValueID);
238 static bool isCompositeOperator(CSSValueID); 238 static bool isCompositeOperator(CSSValueID);
239 239
240 PassRefPtrWillBeRawPtr<CSSValueList> parseTransform(); 240 PassRefPtrWillBeRawPtr<CSSValueList> parseTransformOrigin();
241 PassRefPtrWillBeRawPtr<CSSValue> parseTransformValue(CSSParserValue*); 241 PassRefPtrWillBeRawPtr<CSSValueList> parseTransform(CSSPropertyID);
242 bool parseTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CSSP ropertyID& propId2, CSSPropertyID& propId3, RefPtrWillBeRawPtr<CSSValue>&, RefPt rWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&); 242 PassRefPtrWillBeRawPtr<CSSValue> parseTransformValue(CSSPropertyID, CSSParse rValue*);
243 bool parsePerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propId1, CS SPropertyID& propId2, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValu e>&); 243 bool parseWebkitTransformOrigin(CSSPropertyID propId, CSSPropertyID& propId1 , CSSPropertyID& propId2, CSSPropertyID& propId3, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<CSSValue>&);
244 bool parseWebkitPerspectiveOrigin(CSSPropertyID propId, CSSPropertyID& propI d1, CSSPropertyID& propId2, RefPtrWillBeRawPtr<CSSValue>&, RefPtrWillBeRawPtr<C SSValue>&);
244 245
245 bool parseTextEmphasisStyle(bool important); 246 bool parseTextEmphasisStyle(bool important);
246 247
247 bool parseTouchAction(bool important); 248 bool parseTouchAction(bool important);
248 249
249 void addTextDecorationProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu e>, bool important); 250 void addTextDecorationProperty(CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValu e>, bool important);
250 bool parseTextDecoration(CSSPropertyID propId, bool important); 251 bool parseTextDecoration(CSSPropertyID propId, bool important);
251 bool parseTextUnderlinePosition(bool important); 252 bool parseTextUnderlinePosition(bool important);
252 253
253 PassRefPtrWillBeRawPtr<CSSValue> parseTextIndent(); 254 PassRefPtrWillBeRawPtr<CSSValue> parseTextIndent();
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 CSSPropertyID cssPropertyID(const CSSParserString&); 399 CSSPropertyID cssPropertyID(const CSSParserString&);
399 CSSPropertyID cssPropertyID(const String&); 400 CSSPropertyID cssPropertyID(const String&);
400 CSSValueID cssValueKeywordID(const CSSParserString&); 401 CSSValueID cssValueKeywordID(const CSSParserString&);
401 402
402 bool isKeywordPropertyID(CSSPropertyID); 403 bool isKeywordPropertyID(CSSPropertyID);
403 bool isValidKeywordPropertyAndValue(CSSPropertyID, int valueID, const CSSParserC ontext&); 404 bool isValidKeywordPropertyAndValue(CSSPropertyID, int valueID, const CSSParserC ontext&);
404 405
405 } // namespace WebCore 406 } // namespace WebCore
406 407
407 #endif // CSSPropertyParser_h 408 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « Source/core/css/parser/BisonCSSParser-in.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698