| 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 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define CC_BLINK_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 "content/common/content_export.h" | 10 #include "cc/blink/cc_blink_export.h" |
| 11 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h" | 11 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h" |
| 12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
| 13 #include "third_party/WebKit/public/platform/WebLayer.h" | 13 #include "third_party/WebKit/public/platform/WebLayer.h" |
| 14 #include "third_party/WebKit/public/platform/WebTransformOperations.h" | 14 #include "third_party/WebKit/public/platform/WebTransformOperations.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 class WebGraphicsContext3D; | 17 class WebGraphicsContext3D; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace content { | 20 namespace cc_blink { |
| 21 | 21 |
| 22 class CONTENT_EXPORT WebCompositorSupportImpl | 22 class CC_BLINK_EXPORT WebCompositorSupportImpl |
| 23 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { | 23 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { |
| 24 public: | 24 public: |
| 25 WebCompositorSupportImpl(); | 25 WebCompositorSupportImpl(); |
| 26 virtual ~WebCompositorSupportImpl(); | 26 virtual ~WebCompositorSupportImpl(); |
| 27 | 27 |
| 28 virtual blink::WebLayer* createLayer(); | 28 virtual blink::WebLayer* createLayer(); |
| 29 virtual blink::WebContentLayer* createContentLayer( | 29 virtual blink::WebContentLayer* createContentLayer( |
| 30 blink::WebContentLayerClient* client); | 30 blink::WebContentLayerClient* client); |
| 31 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( | 31 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( |
| 32 blink::WebExternalTextureLayerClient* client); | 32 blink::WebExternalTextureLayerClient* client); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 53 blink::WebCompositorAnimationCurve::TimingFunctionType | 53 blink::WebCompositorAnimationCurve::TimingFunctionType |
| 54 timing_function); | 54 timing_function); |
| 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 content | 63 } // namespace cc_blink |
| 64 | 64 |
| 65 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 65 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 66 | |
| OLD | NEW |