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

Unified Diff: cc/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: exposing a SkPicture instead of PicturePileImpl. 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/proxy.h
diff --git a/cc/proxy.h b/cc/proxy.h
index b175f8f646c77febd1e7103d582730ca49708659..d8a183123db9539833453605ceb269c1cc27f35a 100644
--- a/cc/proxy.h
+++ b/cc/proxy.h
@@ -7,9 +7,11 @@
#include "base/basictypes.h"
#include "base/logging.h"
-#include "base/time.h"
#include "base/memory/scoped_ptr.h"
+#include "base/time.h"
#include "cc/cc_export.h"
+#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkPicture.h"
namespace gfx {
class Rect;
@@ -96,6 +98,8 @@ public:
virtual void acquireLayerTextures() = 0;
+ virtual skia::RefPtr<SkPicture> capturePicture() = 0;
+
// Testing hooks
virtual void loseOutputSurface() = 0;
virtual bool commitPendingForTesting() = 0;
« cc/picture_pile_impl.cc ('K') | « cc/picture_pile_impl.cc ('k') | cc/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698