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

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

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding6 Created 8 years 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"
11 11
12 namespace base { 12 namespace base {
13 class MessageLoopProxy; 13 class MessageLoopProxy;
14 } 14 }
15 15
16 namespace WebKit {
17 class WebCompositorOutputSurface;
18 class WebGraphicsContext3D;
19 }
20
16 namespace webkit { 21 namespace webkit {
17 22
18 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { 23 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
19 public: 24 public:
20 WebCompositorSupportImpl(); 25 WebCompositorSupportImpl();
21 virtual ~WebCompositorSupportImpl(); 26 virtual ~WebCompositorSupportImpl();
22 27
23 virtual void initialize(WebKit::WebThread* implThread); 28 virtual void initialize(WebKit::WebThread* implThread);
24 virtual bool isThreadingEnabled(); 29 virtual bool isThreadingEnabled();
25 virtual void shutdown(); 30 virtual void shutdown();
26 virtual WebKit::WebLayerTreeView* createLayerTreeView( 31 virtual WebKit::WebLayerTreeView* createLayerTreeView(
27 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, 32 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
28 const WebKit::WebLayerTreeView::Settings& settings); 33 const WebKit::WebLayerTreeView::Settings& settings);
34 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D(
35 WebKit::WebGraphicsContext3D* context);
36 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware();
29 virtual WebKit::WebLayer* createLayer(); 37 virtual WebKit::WebLayer* createLayer();
30 virtual WebKit::WebContentLayer* createContentLayer( 38 virtual WebKit::WebContentLayer* createContentLayer(
31 WebKit::WebContentLayerClient* client); 39 WebKit::WebContentLayerClient* client);
32 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer(); 40 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer();
33 virtual WebKit::WebExternalTextureLayer* 41 virtual WebKit::WebExternalTextureLayer*
34 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); 42 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client);
35 virtual WebKit::WebIOSurfaceLayer* 43 virtual WebKit::WebIOSurfaceLayer*
36 createIOSurfaceLayer(); 44 createIOSurfaceLayer();
37 virtual WebKit::WebImageLayer* createImageLayer(); 45 virtual WebKit::WebImageLayer* createImageLayer();
38 virtual WebKit::WebSolidColorLayer* 46 virtual WebKit::WebSolidColorLayer*
(...skipping 14 matching lines...) Expand all
53 createTransformAnimationCurve(); 61 createTransformAnimationCurve();
54 62
55 private: 63 private:
56 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_; 64 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_;
57 bool initialized_; 65 bool initialized_;
58 }; 66 };
59 67
60 } // namespace webkit 68 } // namespace webkit
61 69
62 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 70 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698