OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "webkit/compositor_bindings/web_compositor_support_impl.h" | 5 #include "webkit/compositor_bindings/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_proxy.h" | 8 #include "base/message_loop_proxy.h" |
9 #include "cc/thread_impl.h" | 9 #include "cc/thread_impl.h" |
| 10 #include "cc/transform_operations.h" |
10 #include "webkit/compositor_bindings/web_animation_impl.h" | 11 #include "webkit/compositor_bindings/web_animation_impl.h" |
11 #include "webkit/compositor_bindings/web_compositor_support_output_surface.h" | 12 #include "webkit/compositor_bindings/web_compositor_support_output_surface.h" |
12 #include "webkit/compositor_bindings/web_compositor_support_software_output_devi
ce.h" | 13 #include "webkit/compositor_bindings/web_compositor_support_software_output_devi
ce.h" |
13 #include "webkit/compositor_bindings/web_content_layer_impl.h" | 14 #include "webkit/compositor_bindings/web_content_layer_impl.h" |
14 #include "webkit/compositor_bindings/web_external_texture_layer_impl.h" | 15 #include "webkit/compositor_bindings/web_external_texture_layer_impl.h" |
15 #include "webkit/compositor_bindings/web_float_animation_curve_impl.h" | 16 #include "webkit/compositor_bindings/web_float_animation_curve_impl.h" |
16 #include "webkit/compositor_bindings/web_image_layer_impl.h" | 17 #include "webkit/compositor_bindings/web_image_layer_impl.h" |
17 #include "webkit/compositor_bindings/web_io_surface_layer_impl.h" | 18 #include "webkit/compositor_bindings/web_io_surface_layer_impl.h" |
18 #include "webkit/compositor_bindings/web_layer_impl.h" | 19 #include "webkit/compositor_bindings/web_layer_impl.h" |
19 #include "webkit/compositor_bindings/web_layer_tree_view_impl.h" | 20 #include "webkit/compositor_bindings/web_layer_tree_view_impl.h" |
20 #include "webkit/compositor_bindings/web_scrollbar_layer_impl.h" | 21 #include "webkit/compositor_bindings/web_scrollbar_layer_impl.h" |
21 #include "webkit/compositor_bindings/web_solid_color_layer_impl.h" | 22 #include "webkit/compositor_bindings/web_solid_color_layer_impl.h" |
22 #include "webkit/compositor_bindings/web_transform_animation_curve_impl.h" | 23 #include "webkit/compositor_bindings/web_transform_animation_curve_impl.h" |
| 24 #include "webkit/compositor_bindings/web_transform_operations_impl.h" |
23 #include "webkit/compositor_bindings/web_video_layer_impl.h" | 25 #include "webkit/compositor_bindings/web_video_layer_impl.h" |
24 #include "webkit/glue/webthread_impl.h" | 26 #include "webkit/glue/webthread_impl.h" |
25 #include "webkit/support/webkit_support.h" | 27 #include "webkit/support/webkit_support.h" |
26 | 28 |
27 using WebKit::WebAnimation; | 29 using WebKit::WebAnimation; |
28 using WebKit::WebAnimationCurve; | 30 using WebKit::WebAnimationCurve; |
29 using WebKit::WebContentLayer; | 31 using WebKit::WebContentLayer; |
30 using WebKit::WebContentLayerClient; | 32 using WebKit::WebContentLayerClient; |
31 using WebKit::WebExternalTextureLayer; | 33 using WebKit::WebExternalTextureLayer; |
32 using WebKit::WebExternalTextureLayerClient; | 34 using WebKit::WebExternalTextureLayerClient; |
33 using WebKit::WebFloatAnimationCurve; | 35 using WebKit::WebFloatAnimationCurve; |
34 using WebKit::WebIOSurfaceLayer; | 36 using WebKit::WebIOSurfaceLayer; |
35 using WebKit::WebImageLayer; | 37 using WebKit::WebImageLayer; |
36 using WebKit::WebImageLayer; | 38 using WebKit::WebImageLayer; |
37 using WebKit::WebLayer; | 39 using WebKit::WebLayer; |
38 using WebKit::WebLayerTreeView; | 40 using WebKit::WebLayerTreeView; |
39 using WebKit::WebLayerTreeViewClient; | 41 using WebKit::WebLayerTreeViewClient; |
40 using WebKit::WebScrollbar; | 42 using WebKit::WebScrollbar; |
41 using WebKit::WebScrollbarLayer; | 43 using WebKit::WebScrollbarLayer; |
42 using WebKit::WebScrollbarThemeGeometry; | 44 using WebKit::WebScrollbarThemeGeometry; |
43 using WebKit::WebScrollbarThemePainter; | 45 using WebKit::WebScrollbarThemePainter; |
44 using WebKit::WebSolidColorLayer; | 46 using WebKit::WebSolidColorLayer; |
45 using WebKit::WebTransformAnimationCurve; | 47 using WebKit::WebTransformAnimationCurve; |
| 48 using WebKit::WebTransformOperations; |
46 using WebKit::WebVideoFrameProvider; | 49 using WebKit::WebVideoFrameProvider; |
47 using WebKit::WebVideoLayer; | 50 using WebKit::WebVideoLayer; |
48 | 51 |
49 namespace webkit { | 52 namespace webkit { |
50 | 53 |
51 WebCompositorSupportImpl::WebCompositorSupportImpl() | 54 WebCompositorSupportImpl::WebCompositorSupportImpl() |
52 : initialized_(false) { | 55 : initialized_(false) { |
53 } | 56 } |
54 | 57 |
55 WebCompositorSupportImpl::~WebCompositorSupportImpl() { | 58 WebCompositorSupportImpl::~WebCompositorSupportImpl() { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 160 |
158 WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() { | 161 WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() { |
159 return new WebKit::WebFloatAnimationCurveImpl(); | 162 return new WebKit::WebFloatAnimationCurveImpl(); |
160 } | 163 } |
161 | 164 |
162 WebTransformAnimationCurve* | 165 WebTransformAnimationCurve* |
163 WebCompositorSupportImpl::createTransformAnimationCurve() { | 166 WebCompositorSupportImpl::createTransformAnimationCurve() { |
164 return new WebKit::WebTransformAnimationCurveImpl(); | 167 return new WebKit::WebTransformAnimationCurveImpl(); |
165 } | 168 } |
166 | 169 |
| 170 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { |
| 171 return new WebKit::WebTransformOperationsImpl(); |
| 172 } |
| 173 |
167 } // namespace webkit | 174 } // namespace webkit |
OLD | NEW |