diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-02-03 09:55:33 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-02-03 09:55:33 +0100 |
commit | cd44dc59cdfc39534aef4d417e9f3c412e3be139 (patch) | |
tree | 8d89889ba95ed6ec9322e733846cc9cce9d7dff1 /Source/WebCore/css/WebKitCSSKeyframeRule.h | |
parent | d11f84f5b5cdc0d92a08af01b13472fdd5f9acb9 (diff) | |
download | qtwebkit-cd44dc59cdfc39534aef4d417e9f3c412e3be139.tar.gz |
Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560)
Diffstat (limited to 'Source/WebCore/css/WebKitCSSKeyframeRule.h')
-rw-r--r-- | Source/WebCore/css/WebKitCSSKeyframeRule.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/WebCore/css/WebKitCSSKeyframeRule.h b/Source/WebCore/css/WebKitCSSKeyframeRule.h index 052c86bf1..083518756 100644 --- a/Source/WebCore/css/WebKitCSSKeyframeRule.h +++ b/Source/WebCore/css/WebKitCSSKeyframeRule.h @@ -26,14 +26,13 @@ #ifndef WebKitCSSKeyframeRule_h #define WebKitCSSKeyframeRule_h +#include "CSSMutableStyleDeclaration.h" #include "CSSRule.h" #include <wtf/PassRefPtr.h> #include <wtf/RefPtr.h> namespace WebCore { -class CSSMutableStyleDeclaration; - typedef int ExceptionCode; class WebKitCSSKeyframeRule : public CSSRule { @@ -54,15 +53,13 @@ public: void getKeys(Vector<float>& keys) const { parseKeyString(m_key, keys); } - CSSMutableStyleDeclaration* style() const { return m_style.get(); } + CSSStyleDeclaration* style() const { return m_style.get(); } String cssText() const; + CSSMutableStyleDeclaration* declaration() const { return m_style.get(); } void setDeclaration(PassRefPtr<CSSMutableStyleDeclaration>); - CSSMutableStyleDeclaration* declaration() { return m_style.get(); } - const CSSMutableStyleDeclaration* declaration() const { return m_style.get(); } - private: static void parseKeyString(const String& s, Vector<float>& keys); |