Show
Ignore:
Timestamp:
08/06/08 13:29:36 (5 months ago)
Author:
mbensi
Message:

merge with webkit revision 35588

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/WebCore/css/CSSParser.h

    r424 r431  
    4747    class StyleBase; 
    4848    class StyleList; 
     49    class WebKitCSSKeyframeRule; 
     50    class WebKitCSSKeyframesRule; 
    4951 
    5052    class CSSParser { 
     
    5557        void parseSheet(CSSStyleSheet*, const String&); 
    5658        PassRefPtr<CSSRule> parseRule(CSSStyleSheet*, const String&); 
     59        PassRefPtr<CSSRule> parseKeyframeRule(CSSStyleSheet*, const String&); 
    5760        bool parseValue(CSSMutableStyleDeclaration*, int propId, const String&, bool important); 
    5861        static bool parseColor(RGBA32& color, const String&, bool strict = false); 
     
    8487        void addFillValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> rval); 
    8588 
    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 
    90100        bool parseTimingFunctionValue(CSSParserValueList*& args, double& result); 
    91         PassRefPtr<CSSValue> parseTransitionProperty(); 
    92         bool parseTransitionProperty(int propId, RefPtr<CSSValue>&); 
     101        bool parseAnimationProperty(int propId, RefPtr<CSSValue>&); 
    93102        bool parseTransitionShorthand(bool important); 
     103        bool parseAnimationShorthand(bool important); 
    94104         
    95105        bool parseDashboardRegions(int propId, bool important); 
     
    156166        CSSRule* createCharsetRule(const CSSParserString&); 
    157167        CSSRule* createImportRule(const CSSParserString&, MediaList*); 
     168        WebKitCSSKeyframeRule* createKeyframeRule(float key); 
     169        WebKitCSSKeyframesRule* createKeyframesRule(); 
    158170        CSSRule* createMediaRule(MediaList*, CSSRuleList*); 
    159171        CSSRuleList* createRuleList(); 
     
    181193        CSSStyleSheet* m_styleSheet; 
    182194        RefPtr<CSSRule> m_rule; 
     195        RefPtr<CSSRule> m_keyframe; 
    183196        MediaQuery* m_mediaQuery; 
    184197        CSSParserValueList* m_valueList;