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

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

Issue 12374028: Allow WebExternalTextureLayerClient to work with mailboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Linker Fix Created 7 years, 8 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
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 "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"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor t.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformOperati ons.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformOperati ons.h"
13 13
14 namespace WebKit { 14 namespace WebKit {
15 class WebGraphicsContext3D; 15 class WebGraphicsContext3D;
16 } 16 }
17 17
18 namespace webkit { 18 namespace webkit {
19 19
20 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { 20 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
21 public: 21 public:
22 WebCompositorSupportImpl(); 22 WebCompositorSupportImpl();
23 virtual ~WebCompositorSupportImpl(); 23 virtual ~WebCompositorSupportImpl();
24 24
25 virtual WebKit::WebLayer* createLayer(); 25 virtual WebKit::WebLayer* createLayer();
26 virtual WebKit::WebContentLayer* createContentLayer( 26 virtual WebKit::WebContentLayer* createContentLayer(
27 WebKit::WebContentLayerClient* client); 27 WebKit::WebContentLayerClient* client);
28 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer( 28 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer(
29 WebKit::WebExternalTextureLayerClient* client); 29 WebKit::WebExternalTextureLayerClient* client);
30 virtual WebKit::WebExternalTextureLayer*
31 createExternalTextureLayerForMailbox(
32 WebKit::WebExternalTextureLayerClient* client);
30 virtual WebKit::WebImageLayer* createImageLayer(); 33 virtual WebKit::WebImageLayer* createImageLayer();
31 virtual WebKit::WebSolidColorLayer* createSolidColorLayer(); 34 virtual WebKit::WebSolidColorLayer* createSolidColorLayer();
32 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( 35 virtual WebKit::WebScrollbarLayer* createScrollbarLayer(
33 WebKit::WebScrollbar* scrollbar, 36 WebKit::WebScrollbar* scrollbar,
34 WebKit::WebScrollbarThemePainter painter, 37 WebKit::WebScrollbarThemePainter painter,
35 WebKit::WebScrollbarThemeGeometry*); 38 WebKit::WebScrollbarThemeGeometry*);
36 virtual WebKit::WebAnimation* createAnimation( 39 virtual WebKit::WebAnimation* createAnimation(
37 const WebKit::WebAnimationCurve& curve, 40 const WebKit::WebAnimationCurve& curve,
38 WebKit::WebAnimation::TargetProperty target, 41 WebKit::WebAnimation::TargetProperty target,
39 int animation_id); 42 int animation_id);
40 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); 43 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve();
41 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); 44 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve();
42 virtual WebKit::WebTransformOperations* createTransformOperations(); 45 virtual WebKit::WebTransformOperations* createTransformOperations();
43 46
44 private: 47 private:
45 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); 48 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
46 }; 49 };
47 50
48 } // namespace webkit 51 } // namespace webkit
49 52
50 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 53 #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