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

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: rebase. Created 7 years, 11 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/picture_pile_impl.cc ('k') | cc/single_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proxy.h
diff --git a/cc/proxy.h b/cc/proxy.h
index 253dbd74cbdb442bf9106dcee2c6b4627940ec59..f84a3f3e2ccb0ee273a7f419252a23169318b9e5 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 bool commitPendingForTesting() = 0;
« no previous file with comments | « 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