OLD | NEW |
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } | 131 } |
128 | 132 |
129 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { | 133 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { |
130 return new WebFilterOperationsImpl(); | 134 return new WebFilterOperationsImpl(); |
131 } | 135 } |
132 | 136 |
133 WebDisplayItemList* WebCompositorSupportImpl::createDisplayItemList() { | 137 WebDisplayItemList* WebCompositorSupportImpl::createDisplayItemList() { |
134 return new WebDisplayItemListImpl(); | 138 return new WebDisplayItemListImpl(); |
135 } | 139 } |
136 | 140 |
| 141 WebCompositorAnimationPlayer* |
| 142 WebCompositorSupportImpl::createAnimationPlayer() { |
| 143 return new WebCompositorAnimationPlayerImpl(); |
| 144 } |
| 145 |
| 146 WebCompositorAnimationTimeline* |
| 147 WebCompositorSupportImpl::createAnimationTimeline() { |
| 148 return new WebCompositorAnimationTimelineImpl(); |
| 149 } |
| 150 |
137 } // namespace cc_blink | 151 } // namespace cc_blink |
OLD | NEW |