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 "content/common/content_export.h" |
10 #include "third_party/WebKit/public/platform/WebAnimationCurve.h" | 11 #include "third_party/WebKit/public/platform/WebAnimationCurve.h" |
11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
12 #include "third_party/WebKit/public/platform/WebLayer.h" | 13 #include "third_party/WebKit/public/platform/WebLayer.h" |
13 #include "third_party/WebKit/public/platform/WebTransformOperations.h" | 14 #include "third_party/WebKit/public/platform/WebTransformOperations.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 class WebGraphicsContext3D; | 17 class WebGraphicsContext3D; |
17 } | 18 } |
18 | 19 |
19 namespace webkit { | 20 namespace content { |
20 | 21 |
21 class WebCompositorSupportImpl : public blink::WebCompositorSupport { | 22 class CONTENT_EXPORT WebCompositorSupportImpl |
| 23 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { |
22 public: | 24 public: |
23 WebCompositorSupportImpl(); | 25 WebCompositorSupportImpl(); |
24 virtual ~WebCompositorSupportImpl(); | 26 virtual ~WebCompositorSupportImpl(); |
25 | 27 |
26 virtual blink::WebLayer* createLayer(); | 28 virtual blink::WebLayer* createLayer(); |
27 virtual blink::WebContentLayer* createContentLayer( | 29 virtual blink::WebContentLayer* createContentLayer( |
28 blink::WebContentLayerClient* client); | 30 blink::WebContentLayerClient* client); |
29 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( | 31 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( |
30 blink::WebExternalTextureLayerClient* client); | 32 blink::WebExternalTextureLayerClient* client); |
31 virtual blink::WebImageLayer* createImageLayer(); | 33 virtual blink::WebImageLayer* createImageLayer(); |
(...skipping 21 matching lines...) Expand all Loading... |
53 blink::WebAnimationCurve::TimingFunctionType timing_function); | 55 blink::WebAnimationCurve::TimingFunctionType timing_function); |
54 #endif | 56 #endif |
55 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); | 57 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); |
56 virtual blink::WebTransformOperations* createTransformOperations(); | 58 virtual blink::WebTransformOperations* createTransformOperations(); |
57 virtual blink::WebFilterOperations* createFilterOperations(); | 59 virtual blink::WebFilterOperations* createFilterOperations(); |
58 | 60 |
59 private: | 61 private: |
60 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 62 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
61 }; | 63 }; |
62 | 64 |
63 } // namespace webkit | 65 } // namespace content |
64 | 66 |
65 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 67 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 68 |
OLD | NEW |