Index: webkit/compositor_bindings/web_layer_tree_view_impl.h |
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.h b/webkit/compositor_bindings/web_layer_tree_view_impl.h |
index 4817221b658e88b23297fff10682e36d40524d03..aa6feab05401130f2b4526ba5997fc7da4073d39 100644 |
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h |
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h |
@@ -7,7 +7,9 @@ |
#include "base/memory/scoped_ptr.h" |
#include "cc/layer_tree_host_client.h" |
+#include "skia/ext/refptr.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" |
+#include "third_party/skia/include/core/SkPicture.h" |
jamesr
2013/01/11 21:53:26
don't include this header, forward declare SkPictu
Leandro Graciá Gil
2013/01/15 20:46:11
Done.
|
#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" |
namespace cc { |
@@ -30,6 +32,8 @@ public: |
WEBKIT_COMPOSITOR_BINDINGS_EXPORT bool initialize( |
const Settings&, scoped_ptr<cc::Thread> implThread); |
+ WEBKIT_COMPOSITOR_BINDINGS_EXPORT skia::RefPtr<SkPicture> capturePicture(); |
jamesr
2013/01/11 21:53:26
why are you exposing this on WLTVI instead of just
Leandro Graciá Gil
2013/01/12 00:26:09
How else can we access cc::LayerTreeHost directly
|
+ |
// WebLayerTreeView implementation. |
virtual void setSurfaceReady() OVERRIDE; |
virtual void setRootLayer(const WebLayer&) OVERRIDE; |