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

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

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_BLINK_WEB_COMPOSITOR_ANIMATION_TIMELINE_IMPL_H_
6 #define CC_BLINK_WEB_COMPOSITOR_ANIMATION_TIMELINE_IMPL_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "cc/blink/cc_blink_export.h"
12 #include "third_party/WebKit/public/platform/WebCompositorAnimationTimeline.h"
13
14 namespace blink {
15 class WebCompositorAnimationPlayerClient;
16 }
17
18 namespace cc {
19 class AnimationTimeline;
20 }
21
22 namespace cc_blink {
23
24 class WebCompositorAnimationTimelineImpl
25 : public blink::WebCompositorAnimationTimeline {
26 public:
27 CC_BLINK_EXPORT explicit WebCompositorAnimationTimelineImpl();
28 ~WebCompositorAnimationTimelineImpl() override;
29
30 CC_BLINK_EXPORT cc::AnimationTimeline* animation_timeline() const;
31
32 // blink::WebCompositorAnimationTimeline implementation
33 void playerAttached(
34 const blink::WebCompositorAnimationPlayerClient& client) override;
35 void playerDestroyed(
36 const blink::WebCompositorAnimationPlayerClient& client) override;
37
38 private:
39 scoped_refptr<cc::AnimationTimeline> animation_timeline_;
40
41 DISALLOW_COPY_AND_ASSIGN(WebCompositorAnimationTimelineImpl);
42 };
43
44 } // namespace cc_blink
45
46 #endif // CC_BLINK_WEB_COMPOSITOR_ANIMATION_TIMELINE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_compositor_animation_player_unittest.cc ('k') | cc/blink/web_compositor_animation_timeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698