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

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

Issue 10916307: Add the ubercomp DelegatedRendererLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OwnPtrVector Created 8 years, 3 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 "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h"
10 10
11 namespace webkit { 11 namespace webkit {
12 12
13 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { 13 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
14 public: 14 public:
15 WebCompositorSupportImpl(); 15 WebCompositorSupportImpl();
16 virtual ~WebCompositorSupportImpl(); 16 virtual ~WebCompositorSupportImpl();
17 17
18 virtual void initialize(WebKit::WebThread* thread); 18 virtual void initialize(WebKit::WebThread* thread);
19 virtual bool isThreadingEnabled(); 19 virtual bool isThreadingEnabled();
20 virtual void shutdown(); 20 virtual void shutdown();
21 virtual void setPerTilePaintingEnabled(bool enabled); 21 virtual void setPerTilePaintingEnabled(bool enabled);
22 virtual void setPartialSwapEnabled(bool enabled); 22 virtual void setPartialSwapEnabled(bool enabled);
23 virtual void setAcceleratedAnimationEnabled(bool enabled); 23 virtual void setAcceleratedAnimationEnabled(bool enabled);
24 virtual WebKit::WebLayerTreeView* createLayerTreeView( 24 virtual WebKit::WebLayerTreeView* createLayerTreeView(
25 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, 25 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
26 const WebKit::WebLayerTreeView::Settings& settings); 26 const WebKit::WebLayerTreeView::Settings& settings);
27 virtual WebKit::WebLayer* createLayer(); 27 virtual WebKit::WebLayer* createLayer();
28 virtual WebKit::WebContentLayer* createContentLayer( 28 virtual WebKit::WebContentLayer* createContentLayer(
29 WebKit::WebContentLayerClient* client); 29 WebKit::WebContentLayerClient* client);
30 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer();
30 virtual WebKit::WebExternalTextureLayer* 31 virtual WebKit::WebExternalTextureLayer*
31 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); 32 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client);
32 virtual WebKit::WebIOSurfaceLayer* 33 virtual WebKit::WebIOSurfaceLayer*
33 createIOSurfaceLayer(); 34 createIOSurfaceLayer();
34 virtual WebKit::WebImageLayer* createImageLayer(); 35 virtual WebKit::WebImageLayer* createImageLayer();
35 virtual WebKit::WebSolidColorLayer* 36 virtual WebKit::WebSolidColorLayer*
36 createSolidColorLayer(); 37 createSolidColorLayer();
37 virtual WebKit::WebVideoLayer* 38 virtual WebKit::WebVideoLayer*
38 createVideoLayer(WebKit::WebVideoFrameProvider*); 39 createVideoLayer(WebKit::WebVideoFrameProvider*);
39 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( 40 virtual WebKit::WebScrollbarLayer* createScrollbarLayer(
40 WebKit::WebScrollbar* scrollbar, 41 WebKit::WebScrollbar* scrollbar,
41 WebKit::WebScrollbarThemePainter painter, 42 WebKit::WebScrollbarThemePainter painter,
42 WebKit::WebScrollbarThemeGeometry*); 43 WebKit::WebScrollbarThemeGeometry*);
43 virtual WebKit::WebAnimation* createAnimation( 44 virtual WebKit::WebAnimation* createAnimation(
44 const WebKit::WebAnimationCurve& curve, 45 const WebKit::WebAnimationCurve& curve,
45 WebKit::WebAnimation::TargetProperty target, 46 WebKit::WebAnimation::TargetProperty target,
46 int animationId); 47 int animationId);
47 virtual WebKit::WebFloatAnimationCurve* 48 virtual WebKit::WebFloatAnimationCurve*
48 createFloatAnimationCurve(); 49 createFloatAnimationCurve();
49 virtual WebKit::WebTransformAnimationCurve* 50 virtual WebKit::WebTransformAnimationCurve*
50 createTransformAnimationCurve(); 51 createTransformAnimationCurve();
51 }; 52 };
52 53
53 } // namespace webkit 54 } // namespace webkit
54 55
55 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 56 #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