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

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

Issue 421503002: Re-introduce forward declaration of WebCompositorAnimation (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 | « no previous file | cc/blink/web_animation_impl.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 CC_BLINK_WEB_ANIMATION_IMPL_H_ 5 #ifndef CC_BLINK_WEB_ANIMATION_IMPL_H_
6 #define CC_BLINK_WEB_ANIMATION_IMPL_H_ 6 #define CC_BLINK_WEB_ANIMATION_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/blink/cc_blink_export.h" 9 #include "cc/blink/cc_blink_export.h"
10 #include "third_party/WebKit/public/platform/WebCompositorAnimation.h" 10 #include "third_party/WebKit/public/platform/WebCompositorAnimation.h"
11 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h"
12 11
13 namespace cc { 12 namespace cc {
14 class Animation; 13 class Animation;
15 } 14 }
16 15
16 namespace blink {
17 class WebCompositorAnimationCurve;
18 }
19
17 namespace cc_blink { 20 namespace cc_blink {
18 21
19 class WebCompositorAnimationImpl : public blink::WebCompositorAnimation { 22 class WebCompositorAnimationImpl : public blink::WebCompositorAnimation {
20 public: 23 public:
21 CC_BLINK_EXPORT WebCompositorAnimationImpl( 24 CC_BLINK_EXPORT WebCompositorAnimationImpl(
22 const blink::WebCompositorAnimationCurve& curve, 25 const blink::WebCompositorAnimationCurve& curve,
23 TargetProperty target, 26 TargetProperty target,
24 int animation_id, 27 int animation_id,
25 int group_id); 28 int group_id);
26 virtual ~WebCompositorAnimationImpl(); 29 virtual ~WebCompositorAnimationImpl();
(...skipping 24 matching lines...) Expand all
51 54
52 private: 55 private:
53 scoped_ptr<cc::Animation> animation_; 56 scoped_ptr<cc::Animation> animation_;
54 57
55 DISALLOW_COPY_AND_ASSIGN(WebCompositorAnimationImpl); 58 DISALLOW_COPY_AND_ASSIGN(WebCompositorAnimationImpl);
56 }; 59 };
57 60
58 } // namespace cc_blink 61 } // namespace cc_blink
59 62
60 #endif // CC_BLINK_WEB_ANIMATION_IMPL_H_ 63 #endif // CC_BLINK_WEB_ANIMATION_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_animation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698