Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index 5f46811dcfadba9a078cfc61b5c8745c5334c8fd..4091d4823c30e43252670277a8034784bd66fa13 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -17,7 +17,9 @@ |
#include "cc/render_pass_sink.h" |
#include "cc/renderer.h" |
#include "cc/tile_manager.h" |
+#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "third_party/skia/include/core/SkPicture.h" |
#include "ui/gfx/rect.h" |
namespace cc { |
@@ -300,6 +302,8 @@ public: |
const PinchZoomViewport& pinchZoomViewport() const { return m_pinchZoomViewport; } |
+ skia::RefPtr<SkPicture> capturePicture(); |
+ |
protected: |
LayerTreeHostImpl(const LayerTreeSettings&, LayerTreeHostImplClient*, Proxy*); |
void activatePendingTree(); |
@@ -346,6 +350,8 @@ private: |
void dumpRenderSurfaces(std::string*, int indent, const LayerImpl*) const; |
+ static LayerImpl* getNonCompositedContentLayerRecursive(LayerImpl* layer); |
+ |
scoped_ptr<OutputSurface> m_outputSurface; |
scoped_ptr<ResourceProvider> m_resourceProvider; |
scoped_ptr<Renderer> m_renderer; |