Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index 61077267357487e2bacc2162fa649af2594d3867..451f823f18f8fb4d431f6e985ad1c31fae22a07e 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 { |
@@ -313,6 +315,8 @@ public: |
const PinchZoomViewport& pinchZoomViewport() const { return m_pinchZoomViewport; } |
+ skia::RefPtr<SkPicture> capturePicture(); |
+ |
protected: |
LayerTreeHostImpl(const LayerTreeSettings&, LayerTreeHostImplClient*, Proxy*); |
void activatePendingTree(); |
@@ -359,6 +363,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; |