| 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/output_surface.h" | 9 #include "cc/output_surface.h" |
| 10 #include "cc/software_output_device.h" | 10 #include "cc/software_output_device.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 WebLayer* WebCompositorSupportImpl::createLayer() { | 91 WebLayer* WebCompositorSupportImpl::createLayer() { |
| 92 return new WebKit::WebLayerImpl(); | 92 return new WebKit::WebLayerImpl(); |
| 93 } | 93 } |
| 94 | 94 |
| 95 WebContentLayer* WebCompositorSupportImpl::createContentLayer( | 95 WebContentLayer* WebCompositorSupportImpl::createContentLayer( |
| 96 WebContentLayerClient* client) { | 96 WebContentLayerClient* client) { |
| 97 return new WebKit::WebContentLayerImpl(client); | 97 return new WebKit::WebContentLayerImpl(client); |
| 98 } | 98 } |
| 99 | 99 |
| 100 WebExternalTextureLayer* WebCompositorSupportImpl::createExternalTextureLayer( | 100 WebExternalTextureLayer* WebCompositorSupportImpl::createExternalTextureLayer( |
| 101 WebExternalTextureLayerClient* client) { | 101 WebExternalTextureLayerClient* client, bool single_buffer) { |
| 102 return new WebKit::WebExternalTextureLayerImpl(client); | 102 return new WebKit::WebExternalTextureLayerImpl(client, single_buffer); |
| 103 } | 103 } |
| 104 | 104 |
| 105 WebKit::WebImageLayer* WebCompositorSupportImpl::createImageLayer() { | 105 WebKit::WebImageLayer* WebCompositorSupportImpl::createImageLayer() { |
| 106 return new WebKit::WebImageLayerImpl(); | 106 return new WebKit::WebImageLayerImpl(); |
| 107 } | 107 } |
| 108 | 108 |
| 109 WebSolidColorLayer* WebCompositorSupportImpl::createSolidColorLayer() { | 109 WebSolidColorLayer* WebCompositorSupportImpl::createSolidColorLayer() { |
| 110 return new WebKit::WebSolidColorLayerImpl(); | 110 return new WebKit::WebSolidColorLayerImpl(); |
| 111 } | 111 } |
| 112 | 112 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 136 WebTransformAnimationCurve* | 136 WebTransformAnimationCurve* |
| 137 WebCompositorSupportImpl::createTransformAnimationCurve() { | 137 WebCompositorSupportImpl::createTransformAnimationCurve() { |
| 138 return new WebKit::WebTransformAnimationCurveImpl(); | 138 return new WebKit::WebTransformAnimationCurveImpl(); |
| 139 } | 139 } |
| 140 | 140 |
| 141 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { | 141 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { |
| 142 return new WebTransformOperationsImpl(); | 142 return new WebTransformOperationsImpl(); |
| 143 } | 143 } |
| 144 | 144 |
| 145 } // namespace webkit | 145 } // namespace webkit |
| OLD | NEW |