| 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 "cc/animation/transform_operations.h" | 8 #include "cc/animation/transform_operations.h" |
| 9 #include "cc/blink/web_animation_impl.h" | 9 #include "cc/blink/web_animation_impl.h" |
| 10 #include "cc/blink/web_compositor_animation_player_impl.h" | 10 #include "cc/blink/web_compositor_animation_player_impl.h" |
| 11 #include "cc/blink/web_compositor_animation_timeline_impl.h" | 11 #include "cc/blink/web_compositor_animation_timeline_impl.h" |
| 12 #include "cc/blink/web_content_layer_impl.h" | 12 #include "cc/blink/web_content_layer_impl.h" |
| 13 #include "cc/blink/web_display_item_list_impl.h" | 13 #include "cc/blink/web_display_item_list_impl.h" |
| 14 #include "cc/blink/web_external_texture_layer_impl.h" | 14 #include "cc/blink/web_external_texture_layer_impl.h" |
| 15 #include "cc/blink/web_filter_animation_curve_impl.h" | 15 #include "cc/blink/web_filter_animation_curve_impl.h" |
| 16 #include "cc/blink/web_filter_operations_impl.h" | 16 #include "cc/blink/web_filter_operations_impl.h" |
| 17 #include "cc/blink/web_float_animation_curve_impl.h" | 17 #include "cc/blink/web_float_animation_curve_impl.h" |
| 18 #include "cc/blink/web_image_layer_impl.h" | 18 #include "cc/blink/web_image_layer_impl.h" |
| 19 #include "cc/blink/web_layer_impl.h" | 19 #include "cc/blink/web_layer_impl.h" |
| 20 #include "cc/blink/web_mutator_client_impl.h" |
| 20 #include "cc/blink/web_scroll_offset_animation_curve_impl.h" | 21 #include "cc/blink/web_scroll_offset_animation_curve_impl.h" |
| 21 #include "cc/blink/web_scrollbar_layer_impl.h" | 22 #include "cc/blink/web_scrollbar_layer_impl.h" |
| 22 #include "cc/blink/web_transform_animation_curve_impl.h" | 23 #include "cc/blink/web_transform_animation_curve_impl.h" |
| 23 #include "cc/blink/web_transform_operations_impl.h" | 24 #include "cc/blink/web_transform_operations_impl.h" |
| 24 #include "cc/layers/layer.h" | 25 #include "cc/layers/layer.h" |
| 25 #include "cc/output/output_surface.h" | 26 #include "cc/output/output_surface.h" |
| 26 #include "cc/output/software_output_device.h" | 27 #include "cc/output/software_output_device.h" |
| 27 | 28 |
| 28 using blink::WebCompositorAnimation; | 29 using blink::WebCompositorAnimation; |
| 29 using blink::WebCompositorAnimationCurve; | 30 using blink::WebCompositorAnimationCurve; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 } | 128 } |
| 128 | 129 |
| 129 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { | 130 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { |
| 130 return new WebTransformOperationsImpl(); | 131 return new WebTransformOperationsImpl(); |
| 131 } | 132 } |
| 132 | 133 |
| 133 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { | 134 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { |
| 134 return new WebFilterOperationsImpl(); | 135 return new WebFilterOperationsImpl(); |
| 135 } | 136 } |
| 136 | 137 |
| 138 blink::WebMutatorClient* WebCompositorSupportImpl::createMutatorClient( |
| 139 blink::WebMutator* mutator) { |
| 140 return new WebMutatorClientImpl(mutator); |
| 141 } |
| 142 |
| 137 WebCompositorAnimationPlayer* | 143 WebCompositorAnimationPlayer* |
| 138 WebCompositorSupportImpl::createAnimationPlayer() { | 144 WebCompositorSupportImpl::createAnimationPlayer() { |
| 139 return new WebCompositorAnimationPlayerImpl(); | 145 return new WebCompositorAnimationPlayerImpl(); |
| 140 } | 146 } |
| 141 | 147 |
| 142 WebCompositorAnimationTimeline* | 148 WebCompositorAnimationTimeline* |
| 143 WebCompositorSupportImpl::createAnimationTimeline() { | 149 WebCompositorSupportImpl::createAnimationTimeline() { |
| 144 return new WebCompositorAnimationTimelineImpl(); | 150 return new WebCompositorAnimationTimelineImpl(); |
| 145 } | 151 } |
| 146 | 152 |
| 147 } // namespace cc_blink | 153 } // namespace cc_blink |
| OLD | NEW |