Changeset 431 for trunk/WebCore/css/CSSParser.h
- Timestamp:
- 08/06/08 13:29:36 (5 months ago)
- Files:
-
- trunk/WebCore/css/CSSParser.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/WebCore/css/CSSParser.h
r424 r431 47 47 class StyleBase; 48 48 class StyleList; 49 class WebKitCSSKeyframeRule; 50 class WebKitCSSKeyframesRule; 49 51 50 52 class CSSParser { … … 55 57 void parseSheet(CSSStyleSheet*, const String&); 56 58 PassRefPtr<CSSRule> parseRule(CSSStyleSheet*, const String&); 59 PassRefPtr<CSSRule> parseKeyframeRule(CSSStyleSheet*, const String&); 57 60 bool parseValue(CSSMutableStyleDeclaration*, int propId, const String&, bool important); 58 61 static bool parseColor(RGBA32& color, const String&, bool strict = false); … … 84 87 void addFillValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval); 85 88 86 void addTransitionValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval); 87 PassRefPtr<CSSValue> parseTransitionDuration(); 88 PassRefPtr<CSSValue> parseTransitionRepeatCount(); 89 PassRefPtr<CSSValue> parseTransitionTimingFunction(); 89 void addAnimationValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval); 90 91 PassRefPtr<CSSValue> parseAnimationDelay(); 92 PassRefPtr<CSSValue> parseAnimationDirection(); 93 PassRefPtr<CSSValue> parseAnimationDuration(); 94 PassRefPtr<CSSValue> parseAnimationIterationCount(); 95 PassRefPtr<CSSValue> parseAnimationName(); 96 PassRefPtr<CSSValue> parseAnimationPlayState(); 97 PassRefPtr<CSSValue> parseAnimationProperty(); 98 PassRefPtr<CSSValue> parseAnimationTimingFunction(); 99 90 100 bool parseTimingFunctionValue(CSSParserValueList*& args, double& result); 91 PassRefPtr<CSSValue> parseTransitionProperty(); 92 bool parseTransitionProperty(int propId, RefPtr<CSSValue>&); 101 bool parseAnimationProperty(int propId, RefPtr<CSSValue>&); 93 102 bool parseTransitionShorthand(bool important); 103 bool parseAnimationShorthand(bool important); 94 104 95 105 bool parseDashboardRegions(int propId, bool important); … … 156 166 CSSRule* createCharsetRule(const CSSParserString&); 157 167 CSSRule* createImportRule(const CSSParserString&, MediaList*); 168 WebKitCSSKeyframeRule* createKeyframeRule(float key); 169 WebKitCSSKeyframesRule* createKeyframesRule(); 158 170 CSSRule* createMediaRule(MediaList*, CSSRuleList*); 159 171 CSSRuleList* createRuleList(); … … 181 193 CSSStyleSheet* m_styleSheet; 182 194 RefPtr<CSSRule> m_rule; 195 RefPtr<CSSRule> m_keyframe; 183 196 MediaQuery* m_mediaQuery; 184 197 CSSParserValueList* m_valueList;
