Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: webkit/compositor_bindings/web_compositor_support_impl.h

Issue 12211110: Implement WebKit::WebUnitTestSupport::createLayerTreeViewForTesting() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add enum, fix NON_EXPORTED_BASE Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h"
(...skipping 11 matching lines...) Expand all
22 namespace webkit { 22 namespace webkit {
23 23
24 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { 24 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
25 public: 25 public:
26 WebCompositorSupportImpl(); 26 WebCompositorSupportImpl();
27 virtual ~WebCompositorSupportImpl(); 27 virtual ~WebCompositorSupportImpl();
28 28
29 virtual void initialize(WebKit::WebThread* implThread); 29 virtual void initialize(WebKit::WebThread* implThread);
30 virtual bool isThreadingEnabled(); 30 virtual bool isThreadingEnabled();
31 virtual void shutdown(); 31 virtual void shutdown();
32 virtual WebKit::WebLayerTreeView* createLayerTreeView(
33 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
34 const WebKit::WebLayerTreeView::Settings& settings);
35 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D( 32 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D(
36 WebKit::WebGraphicsContext3D* context); 33 WebKit::WebGraphicsContext3D* context);
37 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware(); 34 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware();
38 virtual WebKit::WebLayer* createLayer(); 35 virtual WebKit::WebLayer* createLayer();
39 virtual WebKit::WebContentLayer* createContentLayer( 36 virtual WebKit::WebContentLayer* createContentLayer(
40 WebKit::WebContentLayerClient* client); 37 WebKit::WebContentLayerClient* client);
41 virtual WebKit::WebExternalTextureLayer* 38 virtual WebKit::WebExternalTextureLayer*
42 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); 39 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client);
43 virtual WebKit::WebIOSurfaceLayer* 40 virtual WebKit::WebIOSurfaceLayer*
44 createIOSurfaceLayer(); 41 createIOSurfaceLayer();
(...skipping 10 matching lines...) Expand all
55 const WebKit::WebAnimationCurve& curve, 52 const WebKit::WebAnimationCurve& curve,
56 WebKit::WebAnimation::TargetProperty target, 53 WebKit::WebAnimation::TargetProperty target,
57 int animationId); 54 int animationId);
58 virtual WebKit::WebFloatAnimationCurve* 55 virtual WebKit::WebFloatAnimationCurve*
59 createFloatAnimationCurve(); 56 createFloatAnimationCurve();
60 virtual WebKit::WebTransformAnimationCurve* 57 virtual WebKit::WebTransformAnimationCurve*
61 createTransformAnimationCurve(); 58 createTransformAnimationCurve();
62 virtual WebKit::WebTransformOperations* 59 virtual WebKit::WebTransformOperations*
63 createTransformOperations(); 60 createTransformOperations();
64 61
62 virtual WebKit::WebLayerTreeView* createLayerTreeView(
63 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
64 const WebKit::WebLayerTreeView::Settings& settings);
65 private: 65 private:
66 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_; 66 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_;
67 bool initialized_; 67 bool initialized_;
68 }; 68 };
69 69
70 } // namespace webkit 70 } // namespace webkit
71 71
72 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 72 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/compositor_bindings.gyp ('k') | webkit/compositor_bindings/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698