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_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define WEBKIT_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_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 virtual bool isThreadingEnabled(); | 27 virtual bool isThreadingEnabled(); |
28 virtual void shutdown(); | 28 virtual void shutdown(); |
29 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D( | 29 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D( |
30 WebKit::WebGraphicsContext3D* context); | 30 WebKit::WebGraphicsContext3D* context); |
31 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware(); | 31 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware(); |
32 virtual WebKit::WebLayer* createLayer(); | 32 virtual WebKit::WebLayer* createLayer(); |
33 virtual WebKit::WebContentLayer* createContentLayer( | 33 virtual WebKit::WebContentLayer* createContentLayer( |
34 WebKit::WebContentLayerClient* client); | 34 WebKit::WebContentLayerClient* client); |
35 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer( | 35 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer( |
36 WebKit::WebExternalTextureLayerClient* client); | 36 WebKit::WebExternalTextureLayerClient* client); |
37 virtual WebKit::WebIOSurfaceLayer* createIOSurfaceLayer(); | |
38 virtual WebKit::WebImageLayer* createImageLayer(); | 37 virtual WebKit::WebImageLayer* createImageLayer(); |
39 virtual WebKit::WebSolidColorLayer* createSolidColorLayer(); | 38 virtual WebKit::WebSolidColorLayer* createSolidColorLayer(); |
40 virtual WebKit::WebVideoLayer* createVideoLayer( | 39 virtual WebKit::WebVideoLayer* createVideoLayer( |
41 WebKit::WebVideoFrameProvider*); | 40 WebKit::WebVideoFrameProvider*); |
42 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( | 41 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( |
43 WebKit::WebScrollbar* scrollbar, | 42 WebKit::WebScrollbar* scrollbar, |
44 WebKit::WebScrollbarThemePainter painter, | 43 WebKit::WebScrollbarThemePainter painter, |
45 WebKit::WebScrollbarThemeGeometry*); | 44 WebKit::WebScrollbarThemeGeometry*); |
46 virtual WebKit::WebAnimation* createAnimation( | 45 virtual WebKit::WebAnimation* createAnimation( |
47 const WebKit::WebAnimationCurve& curve, | 46 const WebKit::WebAnimationCurve& curve, |
48 WebKit::WebAnimation::TargetProperty target, | 47 WebKit::WebAnimation::TargetProperty target, |
49 int animation_id); | 48 int animation_id); |
50 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); | 49 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); |
51 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); | 50 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); |
52 virtual WebKit::WebTransformOperations* createTransformOperations(); | 51 virtual WebKit::WebTransformOperations* createTransformOperations(); |
53 | 52 |
54 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy() { | 53 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy() { |
55 return compositor_thread_message_loop_proxy_; | 54 return compositor_thread_message_loop_proxy_; |
56 } | 55 } |
57 private: | 56 private: |
58 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy_; | 57 scoped_refptr<base::MessageLoopProxy> compositor_thread_message_loop_proxy_; |
59 bool initialized_; | 58 bool initialized_; |
60 }; | 59 }; |
61 | 60 |
62 } // namespace webkit | 61 } // namespace webkit |
63 | 62 |
64 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 63 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
OLD | NEW |