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

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

Issue 947033002: CC Animations: Establish AnimationHost, AnimationTimeline and AnimationPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set up impl-only timelines for ScrollOffset animations Created 5 years, 8 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
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/cc.gyp » ('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_compositor_support_impl.h" 5 #include "cc/blink/web_compositor_support_impl.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "cc/animation/transform_operations.h" 9 #include "cc/animation/transform_operations.h"
10 #include "cc/blink/web_animation_impl.h" 10 #include "cc/blink/web_animation_impl.h"
11 #include "cc/blink/web_compositor_animation_player_impl.h"
12 #include "cc/blink/web_compositor_animation_timeline_impl.h"
11 #include "cc/blink/web_content_layer_impl.h" 13 #include "cc/blink/web_content_layer_impl.h"
12 #include "cc/blink/web_display_item_list_impl.h" 14 #include "cc/blink/web_display_item_list_impl.h"
13 #include "cc/blink/web_external_texture_layer_impl.h" 15 #include "cc/blink/web_external_texture_layer_impl.h"
14 #include "cc/blink/web_filter_animation_curve_impl.h" 16 #include "cc/blink/web_filter_animation_curve_impl.h"
15 #include "cc/blink/web_filter_operations_impl.h" 17 #include "cc/blink/web_filter_operations_impl.h"
16 #include "cc/blink/web_float_animation_curve_impl.h" 18 #include "cc/blink/web_float_animation_curve_impl.h"
17 #include "cc/blink/web_image_layer_impl.h" 19 #include "cc/blink/web_image_layer_impl.h"
18 #include "cc/blink/web_layer_impl.h" 20 #include "cc/blink/web_layer_impl.h"
19 #include "cc/blink/web_nine_patch_layer_impl.h" 21 #include "cc/blink/web_nine_patch_layer_impl.h"
20 #include "cc/blink/web_scroll_offset_animation_curve_impl.h" 22 #include "cc/blink/web_scroll_offset_animation_curve_impl.h"
21 #include "cc/blink/web_scrollbar_layer_impl.h" 23 #include "cc/blink/web_scrollbar_layer_impl.h"
22 #include "cc/blink/web_transform_animation_curve_impl.h" 24 #include "cc/blink/web_transform_animation_curve_impl.h"
23 #include "cc/blink/web_transform_operations_impl.h" 25 #include "cc/blink/web_transform_operations_impl.h"
24 #include "cc/output/output_surface.h" 26 #include "cc/output/output_surface.h"
25 #include "cc/output/software_output_device.h" 27 #include "cc/output/software_output_device.h"
26 28
27 using blink::WebCompositorAnimation; 29 using blink::WebCompositorAnimation;
28 using blink::WebCompositorAnimationCurve; 30 using blink::WebCompositorAnimationCurve;
31 using blink::WebCompositorAnimationPlayer;
32 using blink::WebCompositorAnimationTimeline;
29 using blink::WebContentLayer; 33 using blink::WebContentLayer;
30 using blink::WebContentLayerClient; 34 using blink::WebContentLayerClient;
31 using blink::WebDisplayItemList; 35 using blink::WebDisplayItemList;
32 using blink::WebExternalTextureLayer; 36 using blink::WebExternalTextureLayer;
33 using blink::WebExternalTextureLayerClient; 37 using blink::WebExternalTextureLayerClient;
34 using blink::WebFilterAnimationCurve; 38 using blink::WebFilterAnimationCurve;
35 using blink::WebFilterOperations; 39 using blink::WebFilterOperations;
36 using blink::WebFloatAnimationCurve; 40 using blink::WebFloatAnimationCurve;
37 using blink::WebImageLayer; 41 using blink::WebImageLayer;
38 using blink::WebNinePatchLayer; 42 using blink::WebNinePatchLayer;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 137 }
134 138
135 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { 139 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() {
136 return new WebTransformOperationsImpl(); 140 return new WebTransformOperationsImpl();
137 } 141 }
138 142
139 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { 143 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() {
140 return new WebFilterOperationsImpl(); 144 return new WebFilterOperationsImpl();
141 } 145 }
142 146
147 WebCompositorAnimationPlayer*
148 WebCompositorSupportImpl::createAnimationPlayer() {
149 return new WebCompositorAnimationPlayerImpl();
150 }
151
152 WebCompositorAnimationTimeline*
153 WebCompositorSupportImpl::createAnimationTimeline() {
154 return new WebCompositorAnimationTimelineImpl();
155 }
156
143 } // namespace cc_blink 157 } // namespace cc_blink
OLDNEW
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698