Index: sky/compositor/layer.h |
diff --git a/sky/compositor/layer.h b/sky/compositor/layer.h |
index 94925278652b7e33146d2c5dae537b8f741d9438..0f478bb9d121fabf2a41b634ac07037bf1e9972a 100644 |
--- a/sky/compositor/layer.h |
+++ b/sky/compositor/layer.h |
@@ -11,15 +11,16 @@ |
#include "ui/gfx/geometry/rect.h" |
namespace sky { |
+ |
+class DisplayDelegate; |
class LayerHost; |
class Layer : public base::RefCounted<Layer> { |
public: |
explicit Layer(LayerClient* client); |
- void ClearClient(); |
- |
void SetSize(const gfx::Size& size); |
+ void GetPixelsForTesting(std::vector<unsigned char>* pixels); |
void Display(); |
scoped_ptr<mojo::GLTexture> GetTexture(); |
@@ -35,8 +36,8 @@ class Layer : public base::RefCounted<Layer> { |
LayerClient* client_; |
LayerHost* host_; |
gfx::Size size_; |
- |
scoped_ptr<mojo::GLTexture> texture_; |
+ scoped_ptr<DisplayDelegate> delegate_; |
DISALLOW_COPY_AND_ASSIGN(Layer); |
}; |