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

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

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 WebDelegatedRendererLayerImpl_h 5 #ifndef WebDelegatedRendererLayerImpl_h
6 #define WebDelegatedRendererLayerImpl_h 6 #define WebDelegatedRendererLayerImpl_h
7 7
8 #include "WebLayerImpl.h" 8 #include "WebLayerImpl.h"
9 #include <public/WebDelegatedRendererLayer.h> 9 #include <public/WebDelegatedRendererLayer.h>
10 #include <wtf/OwnPtr.h> 10 #include <wtf/OwnPtr.h>
11 11
12 namespace WebKit { 12 namespace WebKit {
13 13
14 class WebDelegatedRendererLayerImpl : public WebDelegatedRendererLayer { 14 class WebDelegatedRendererLayerImpl : public WebDelegatedRendererLayer {
15 public: 15 public:
16 WebDelegatedRendererLayerImpl(); 16 WebDelegatedRendererLayerImpl();
17 17
18 // WebDelegatedRendererLayer implementation. 18 // WebDelegatedRendererLayer implementation.
19 virtual WebLayer* layer() OVERRIDE; 19 virtual WebLayer* layer() OVERRIDE;
20 20
21 virtual void setFrameData(const WebCompositorFrame& frame) OVERRIDE;
22 virtual void getRecycledResources(WebCompositorTransferableResourceList* lis t) OVERRIDE;
21 protected: 23 protected:
22 virtual ~WebDelegatedRendererLayerImpl(); 24 virtual ~WebDelegatedRendererLayerImpl();
23 25
24 private: 26 private:
25 OwnPtr<WebLayerImpl> m_layer; 27 OwnPtr<WebLayerImpl> m_layer;
26 }; 28 };
27 29
28 } // namespace WebKit 30 } // namespace WebKit
29 31
30 #endif // WebDelegatedLayerImpl_h 32 #endif // WebDelegatedLayerImpl_h
OLDNEW
« no previous file with comments | « ui/compositor/layer.cc ('k') | webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698