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

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

Issue 11410075: cc: Remove the WebCompositorSupport methods for the old cc::Settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
« no previous file with comments | « no previous file | webkit/compositor_bindings/web_compositor_support_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 { 16 namespace webkit {
17 17
18 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { 18 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
19 public: 19 public:
20 WebCompositorSupportImpl(); 20 WebCompositorSupportImpl();
21 virtual ~WebCompositorSupportImpl(); 21 virtual ~WebCompositorSupportImpl();
22 22
23 virtual void initialize(WebKit::WebThread* implThread); 23 virtual void initialize(WebKit::WebThread* implThread);
24 virtual bool isThreadingEnabled(); 24 virtual bool isThreadingEnabled();
25 virtual void shutdown(); 25 virtual void shutdown();
26 virtual void setPerTilePaintingEnabled(bool enabled);
27 virtual void setPartialSwapEnabled(bool enabled);
28 virtual void setAcceleratedAnimationEnabled(bool enabled);
29 virtual void setPageScalePinchZoomEnabled(bool enabled);
30 virtual WebKit::WebLayerTreeView* createLayerTreeView( 26 virtual WebKit::WebLayerTreeView* createLayerTreeView(
31 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, 27 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
32 const WebKit::WebLayerTreeView::Settings& settings); 28 const WebKit::WebLayerTreeView::Settings& settings);
33 virtual WebKit::WebLayer* createLayer(); 29 virtual WebKit::WebLayer* createLayer();
34 virtual WebKit::WebContentLayer* createContentLayer( 30 virtual WebKit::WebContentLayer* createContentLayer(
35 WebKit::WebContentLayerClient* client); 31 WebKit::WebContentLayerClient* client);
36 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer(); 32 virtual WebKit::WebDelegatedRendererLayer* createDelegatedRendererLayer();
37 virtual WebKit::WebExternalTextureLayer* 33 virtual WebKit::WebExternalTextureLayer*
38 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); 34 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client);
39 virtual WebKit::WebIOSurfaceLayer* 35 virtual WebKit::WebIOSurfaceLayer*
(...skipping 17 matching lines...) Expand all
57 createTransformAnimationCurve(); 53 createTransformAnimationCurve();
58 54
59 private: 55 private:
60 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_; 56 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_;
61 bool initialized_; 57 bool initialized_;
62 }; 58 };
63 59
64 } // namespace webkit 60 } // namespace webkit
65 61
66 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ 62 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/compositor_bindings/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698