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

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

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/message_loop_proxy.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.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"
13
14 namespace WebKit {
15 class WebGraphicsContext3D;
16 }
17
18 namespace webkit {
19
20 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
21 public:
22 WebCompositorSupportImpl();
23 virtual ~WebCompositorSupportImpl();
24
25 virtual WebKit::WebLayer* createLayer();
26 virtual WebKit::WebContentLayer* createContentLayer(
27 WebKit::WebContentLayerClient* client);
28 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer(
29 WebKit::WebExternalTextureLayerClient* client);
30 virtual WebKit::WebExternalTextureLayer*
31 createExternalTextureLayerForMailbox(
32 WebKit::WebExternalTextureLayerClient* client);
33 virtual WebKit::WebImageLayer* createImageLayer();
34 virtual WebKit::WebSolidColorLayer* createSolidColorLayer();
35 virtual WebKit::WebScrollbarLayer* createScrollbarLayer(
36 WebKit::WebScrollbar* scrollbar,
37 WebKit::WebScrollbarThemePainter painter,
38 WebKit::WebScrollbarThemeGeometry*);
39 virtual WebKit::WebAnimation* createAnimation(
40 const WebKit::WebAnimationCurve& curve,
41 WebKit::WebAnimation::TargetProperty target,
42 int animation_id);
43 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve();
44 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve();
45 virtual WebKit::WebTransformOperations* createTransformOperations();
46
47 private:
48 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl);
49 };
50
51 } // namespace webkit
52
53 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_animation_unittest.cc ('k') | webkit/compositor_bindings/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698