| 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 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "third_party/WebKit/public/platform/WebAnimationCurve.h" | 10 #include "third_party/WebKit/public/platform/WebAnimationCurve.h" |
| 11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
| 12 #include "third_party/WebKit/public/platform/WebLayer.h" | 12 #include "third_party/WebKit/public/platform/WebLayer.h" |
| 13 #include "third_party/WebKit/public/platform/WebTransformOperations.h" | 13 #include "third_party/WebKit/public/platform/WebTransformOperations.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 class WebGraphicsContext3D; | 16 class WebGraphicsContext3D; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace webkit { | 19 namespace content { |
| 20 | 20 |
| 21 class WebCompositorSupportImpl : public blink::WebCompositorSupport { | 21 class WebCompositorSupportImpl : public blink::WebCompositorSupport { |
| 22 public: | 22 public: |
| 23 WebCompositorSupportImpl(); | 23 WebCompositorSupportImpl(); |
| 24 virtual ~WebCompositorSupportImpl(); | 24 virtual ~WebCompositorSupportImpl(); |
| 25 | 25 |
| 26 virtual blink::WebLayer* createLayer(); | 26 virtual blink::WebLayer* createLayer(); |
| 27 virtual blink::WebContentLayer* createContentLayer( | 27 virtual blink::WebContentLayer* createContentLayer( |
| 28 blink::WebContentLayerClient* client); | 28 blink::WebContentLayerClient* client); |
| 29 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( | 29 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( |
| (...skipping 23 matching lines...) Expand all Loading... |
| 53 blink::WebAnimationCurve::TimingFunctionType timing_function); | 53 blink::WebAnimationCurve::TimingFunctionType timing_function); |
| 54 #endif | 54 #endif |
| 55 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); | 55 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); |
| 56 virtual blink::WebTransformOperations* createTransformOperations(); | 56 virtual blink::WebTransformOperations* createTransformOperations(); |
| 57 virtual blink::WebFilterOperations* createFilterOperations(); | 57 virtual blink::WebFilterOperations* createFilterOperations(); |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 60 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace webkit | 63 } // namespace content |
| 64 | 64 |
| 65 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 65 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| OLD | NEW |