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

Unified Diff: cc/test/fake_proxy.h

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resubmitting, empty files in the review. Created 7 years, 12 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
Index: cc/test/fake_proxy.h
diff --git a/cc/test/fake_proxy.h b/cc/test/fake_proxy.h
index ba0014f4d0bd3969c065f67c5e1962e4befa9735..9b14b7cb9f23db896b01e5ff6673c8ff69b1eb55 100644
--- a/cc/test/fake_proxy.h
+++ b/cc/test/fake_proxy.h
@@ -5,12 +5,16 @@
#ifndef CC_TEST_FAKE_PROXY_H_
#define CC_TEST_FAKE_PROXY_H_
+#include "base/memory/ref_counted.h"
#include "cc/layer_tree_host.h"
+#include "cc/picture_pile_impl.h"
#include "cc/proxy.h"
#include "cc/thread.h"
namespace cc {
+class PictureLayer;
+
class FakeProxy : public Proxy {
public:
explicit FakeProxy(scoped_ptr<Thread> implThread) : Proxy(implThread.Pass()) { }
@@ -39,6 +43,7 @@ public:
virtual void acquireLayerTextures() OVERRIDE { }
virtual void loseOutputSurface() OVERRIDE { }
virtual bool commitPendingForTesting() OVERRIDE;
+ virtual scoped_refptr<PicturePileImpl> capturePicturePile(const PictureLayer* layer) OVERRIDE;
virtual RendererCapabilities& rendererCapabilities();
void setMaxPartialTextureUpdates(size_t);

Powered by Google App Engine
This is Rietveld 408576698