summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/LayerAndroid.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/android/LayerAndroid.h')
-rw-r--r--WebCore/platform/graphics/android/LayerAndroid.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.h b/WebCore/platform/graphics/android/LayerAndroid.h
index 42356e9..56f5c6b 100644
--- a/WebCore/platform/graphics/android/LayerAndroid.h
+++ b/WebCore/platform/graphics/android/LayerAndroid.h
@@ -22,6 +22,7 @@
#include "FloatPoint.h"
#include "FloatPoint3D.h"
#include "FloatRect.h"
+#include "GraphicsLayerClient.h"
#include "LayerTexture.h"
#include "RefPtr.h"
#include "SkColor.h"
@@ -179,7 +180,8 @@ public:
SkPicture* recordContext();
void addAnimation(PassRefPtr<AndroidAnimation> anim);
- void removeAnimation(const String& name);
+ void removeAnimationsForProperty(AnimatedPropertyID property);
+ void removeAnimationsForKeyframes(const String& name);
bool evaluateAnimations() const;
bool evaluateAnimations(double time) const;
bool hasAnimations() const;
@@ -301,7 +303,7 @@ private:
SkBitmapRef* m_contentsImage;
- typedef HashMap<String, RefPtr<AndroidAnimation> > KeyframesMap;
+ typedef HashMap<pair<String, int>, RefPtr<AndroidAnimation> > KeyframesMap;
KeyframesMap m_animations;
SkPicture* m_extra;
int m_uniqueId;