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 "content/renderer/compositor_bindings/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" |
| 11 #include "cc/blink/web_content_layer_impl.h" |
| 12 #include "cc/blink/web_external_texture_layer_impl.h" |
| 13 #include "cc/blink/web_filter_animation_curve_impl.h" |
| 14 #include "cc/blink/web_filter_operations_impl.h" |
| 15 #include "cc/blink/web_float_animation_curve_impl.h" |
| 16 #include "cc/blink/web_image_layer_impl.h" |
| 17 #include "cc/blink/web_layer_impl.h" |
| 18 #include "cc/blink/web_nine_patch_layer_impl.h" |
| 19 #include "cc/blink/web_scroll_offset_animation_curve_impl.h" |
| 20 #include "cc/blink/web_scrollbar_layer_impl.h" |
| 21 #include "cc/blink/web_transform_animation_curve_impl.h" |
| 22 #include "cc/blink/web_transform_operations_impl.h" |
10 #include "cc/output/output_surface.h" | 23 #include "cc/output/output_surface.h" |
11 #include "cc/output/software_output_device.h" | 24 #include "cc/output/software_output_device.h" |
12 #include "content/renderer/compositor_bindings/web_animation_impl.h" | |
13 #include "content/renderer/compositor_bindings/web_content_layer_impl.h" | |
14 #include "content/renderer/compositor_bindings/web_external_texture_layer_impl.h
" | |
15 #include "content/renderer/compositor_bindings/web_filter_animation_curve_impl.h
" | |
16 #include "content/renderer/compositor_bindings/web_filter_operations_impl.h" | |
17 #include "content/renderer/compositor_bindings/web_float_animation_curve_impl.h" | |
18 #include "content/renderer/compositor_bindings/web_image_layer_impl.h" | |
19 #include "content/renderer/compositor_bindings/web_layer_impl.h" | |
20 #include "content/renderer/compositor_bindings/web_nine_patch_layer_impl.h" | |
21 #include "content/renderer/compositor_bindings/web_scroll_offset_animation_curve
_impl.h" | |
22 #include "content/renderer/compositor_bindings/web_scrollbar_layer_impl.h" | |
23 #include "content/renderer/compositor_bindings/web_transform_animation_curve_imp
l.h" | |
24 #include "content/renderer/compositor_bindings/web_transform_operations_impl.h" | |
25 | 25 |
26 using blink::WebCompositorAnimation; | 26 using blink::WebCompositorAnimation; |
27 using blink::WebCompositorAnimationCurve; | 27 using blink::WebCompositorAnimationCurve; |
28 using blink::WebContentLayer; | 28 using blink::WebContentLayer; |
29 using blink::WebContentLayerClient; | 29 using blink::WebContentLayerClient; |
30 using blink::WebExternalTextureLayer; | 30 using blink::WebExternalTextureLayer; |
31 using blink::WebExternalTextureLayerClient; | 31 using blink::WebExternalTextureLayerClient; |
32 using blink::WebFilterAnimationCurve; | 32 using blink::WebFilterAnimationCurve; |
33 using blink::WebFilterOperations; | 33 using blink::WebFilterOperations; |
34 using blink::WebFloatAnimationCurve; | 34 using blink::WebFloatAnimationCurve; |
35 using blink::WebImageLayer; | 35 using blink::WebImageLayer; |
36 using blink::WebNinePatchLayer; | 36 using blink::WebNinePatchLayer; |
37 using blink::WebLayer; | 37 using blink::WebLayer; |
38 using blink::WebScrollbar; | 38 using blink::WebScrollbar; |
39 using blink::WebScrollbarLayer; | 39 using blink::WebScrollbarLayer; |
40 using blink::WebScrollbarThemeGeometry; | 40 using blink::WebScrollbarThemeGeometry; |
41 using blink::WebScrollbarThemePainter; | 41 using blink::WebScrollbarThemePainter; |
42 using blink::WebScrollOffsetAnimationCurve; | 42 using blink::WebScrollOffsetAnimationCurve; |
43 using blink::WebTransformAnimationCurve; | 43 using blink::WebTransformAnimationCurve; |
44 using blink::WebTransformOperations; | 44 using blink::WebTransformOperations; |
45 | 45 |
46 namespace content { | 46 namespace cc_blink { |
47 | 47 |
48 WebCompositorSupportImpl::WebCompositorSupportImpl() { | 48 WebCompositorSupportImpl::WebCompositorSupportImpl() { |
49 } | 49 } |
50 | 50 |
51 WebCompositorSupportImpl::~WebCompositorSupportImpl() { | 51 WebCompositorSupportImpl::~WebCompositorSupportImpl() { |
52 } | 52 } |
53 | 53 |
54 WebLayer* WebCompositorSupportImpl::createLayer() { | 54 WebLayer* WebCompositorSupportImpl::createLayer() { |
55 return new WebLayerImpl(); | 55 return new WebLayerImpl(); |
56 } | 56 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 120 } |
121 | 121 |
122 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { | 122 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { |
123 return new WebTransformOperationsImpl(); | 123 return new WebTransformOperationsImpl(); |
124 } | 124 } |
125 | 125 |
126 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { | 126 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { |
127 return new WebFilterOperationsImpl(); | 127 return new WebFilterOperationsImpl(); |
128 } | 128 } |
129 | 129 |
130 } // namespace content | 130 } // namespace cc_blink |
131 | |
OLD | NEW |