Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Side by Side Diff: cc/blink/web_to_cc_animation_delegate_adapter.h

Issue 470983004: Move blink<->cc bindings to cc/blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.cc ('k') | cc/blink/web_to_cc_animation_delegate_adapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTE R_H_ 5 #ifndef CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTE R_H_ 6 #define CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "cc/animation/animation_delegate.h" 10 #include "cc/animation/animation_delegate.h"
11 #include "third_party/WebKit/public/platform/WebCompositorAnimationDelegate.h" 11 #include "third_party/WebKit/public/platform/WebCompositorAnimationDelegate.h"
12 12
13 namespace content { 13 namespace cc_blink {
14 14
15 class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate { 15 class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate {
16 public: 16 public:
17 explicit WebToCCAnimationDelegateAdapter( 17 explicit WebToCCAnimationDelegateAdapter(
18 blink::WebCompositorAnimationDelegate* delegate); 18 blink::WebCompositorAnimationDelegate* delegate);
19 19
20 private: 20 private:
21 virtual void NotifyAnimationStarted( 21 virtual void NotifyAnimationStarted(
22 base::TimeTicks monotonic_time, 22 base::TimeTicks monotonic_time,
23 cc::Animation::TargetProperty target_property) OVERRIDE; 23 cc::Animation::TargetProperty target_property) OVERRIDE;
24 virtual void NotifyAnimationFinished( 24 virtual void NotifyAnimationFinished(
25 base::TimeTicks monotonic_time, 25 base::TimeTicks monotonic_time,
26 cc::Animation::TargetProperty target_property) OVERRIDE; 26 cc::Animation::TargetProperty target_property) OVERRIDE;
27 27
28 blink::WebCompositorAnimationDelegate* delegate_; 28 blink::WebCompositorAnimationDelegate* delegate_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(WebToCCAnimationDelegateAdapter); 30 DISALLOW_COPY_AND_ASSIGN(WebToCCAnimationDelegateAdapter);
31 }; 31 };
32 32
33 } // namespace content 33 } // namespace cc_blink
34 34
35 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_TO_CC_ANIMATION_DELEGATE_ADA PTER_H_ 35 #endif // CC_BLINK_WEB_TO_CC_ANIMATION_DELEGATE_ADAPTER_H_
36
OLDNEW
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.cc ('k') | cc/blink/web_to_cc_animation_delegate_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698