X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Frenderer%2Fcompositor_bindings%2Fweb_to_cc_animation_delegate_adapter.h;h=9213531af34ab45d2ad9e31386a29a3b0a0aac30;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=b80b627f4247eaf83caa70c797951ad380d1ecec;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h b/src/content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h index b80b627..9213531 100644 --- a/src/content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h +++ b/src/content/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h @@ -8,17 +8,14 @@ #include "base/basictypes.h" #include "base/compiler_specific.h" #include "cc/animation/animation_delegate.h" - -namespace blink { -class WebAnimationDelegate; -} +#include "third_party/WebKit/public/platform/WebCompositorAnimationDelegate.h" namespace content { class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate { public: explicit WebToCCAnimationDelegateAdapter( - blink::WebAnimationDelegate* delegate); + blink::WebCompositorAnimationDelegate* delegate); private: virtual void NotifyAnimationStarted( @@ -28,7 +25,7 @@ class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate { base::TimeTicks monotonic_time, cc::Animation::TargetProperty target_property) OVERRIDE; - blink::WebAnimationDelegate* delegate_; + blink::WebCompositorAnimationDelegate* delegate_; DISALLOW_COPY_AND_ASSIGN(WebToCCAnimationDelegateAdapter); };