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

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

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 | « cc/blink/web_animation_impl.h ('k') | cc/blink/web_to_cc_animation_delegate_adapter.h » ('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 #include "cc/blink/web_animation_impl.h" 5 #include "cc/blink/web_animation_impl.h"
6 6
7 #include "cc/animation/animation.h" 7 #include "cc/animation/animation.h"
8 #include "cc/animation/animation_curve.h" 8 #include "cc/animation/animation_curve.h"
9 #include "cc/animation/animation_id_provider.h" 9 #include "cc/animation/animation_id_provider.h"
10 #include "cc/blink/web_filter_animation_curve_impl.h" 10 #include "cc/blink/web_filter_animation_curve_impl.h"
11 #include "cc/blink/web_float_animation_curve_impl.h" 11 #include "cc/blink/web_float_animation_curve_impl.h"
12 #include "cc/blink/web_scroll_offset_animation_curve_impl.h" 12 #include "cc/blink/web_scroll_offset_animation_curve_impl.h"
13 #include "cc/blink/web_transform_animation_curve_impl.h" 13 #include "cc/blink/web_transform_animation_curve_impl.h"
14 #include "third_party/WebKit/public/platform/WebCompositorAnimation.h" 14 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h"
15 15
16 using cc::Animation; 16 using cc::Animation;
17 using cc::AnimationIdProvider; 17 using cc::AnimationIdProvider;
18 18
19 using blink::WebCompositorAnimation; 19 using blink::WebCompositorAnimation;
20 using blink::WebCompositorAnimationCurve; 20 using blink::WebCompositorAnimationCurve;
21 21
22 namespace cc_blink { 22 namespace cc_blink {
23 23
24 WebCompositorAnimationImpl::WebCompositorAnimationImpl( 24 WebCompositorAnimationImpl::WebCompositorAnimationImpl(
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 animation_->set_direction(cc::Animation::Normal); 160 animation_->set_direction(cc::Animation::Normal);
161 } 161 }
162 #endif 162 #endif
163 163
164 scoped_ptr<cc::Animation> WebCompositorAnimationImpl::PassAnimation() { 164 scoped_ptr<cc::Animation> WebCompositorAnimationImpl::PassAnimation() {
165 animation_->set_needs_synchronized_start_time(true); 165 animation_->set_needs_synchronized_start_time(true);
166 return animation_.Pass(); 166 return animation_.Pass();
167 } 167 }
168 168
169 } // namespace cc_blink 169 } // namespace cc_blink
OLDNEW
« no previous file with comments | « cc/blink/web_animation_impl.h ('k') | cc/blink/web_to_cc_animation_delegate_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698