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

Unified Diff: cc/DelegatedRendererLayerChromium.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCTileDrawQuad.h ('k') | cc/DelegatedRendererLayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/DelegatedRendererLayerChromium.h
diff --git a/cc/DelegatedRendererLayerChromium.h b/cc/DelegatedRendererLayerChromium.h
index 1e464ae36b7dfaf72642f2e25f534539fef96ac0..c351bd29494f80d634252c04de5bd63358df409a 100644
--- a/cc/DelegatedRendererLayerChromium.h
+++ b/cc/DelegatedRendererLayerChromium.h
@@ -5,7 +5,10 @@
#ifndef DelegatedRendererLayerChromium_h
#define DelegatedRendererLayerChromium_h
-#include "LayerChromium.h"
+#include <set>
+#include "cc/compositor_frame.h"
+#include "cc/LayerChromium.h"
+#include "cc/transferable_resource.h"
namespace cc {
@@ -15,9 +18,19 @@ public:
virtual ~DelegatedRendererLayerChromium();
virtual PassOwnPtr<CCLayerImpl> createCCLayerImpl() OVERRIDE;
+ virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE;
+
+ void setFrameData(const CompositorFrame& frame);
+ void getRecycledResources(TransferableResourceList* list);
protected:
DelegatedRendererLayerChromium();
+
+private:
+ bool m_new;
+ CompositorFrame m_frame;
+ std::set<unsigned> m_currentResources;
+ TransferableResourceList m_recyclingResources;
};
}
« no previous file with comments | « cc/CCTileDrawQuad.h ('k') | cc/DelegatedRendererLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698