| Index: cc/test/fake_output_surface.h
|
| diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
|
| index d843ccab131e7958e1189c7a703aecd536c918fa..73eb08eeb7bb0c12a30c0162c380ae4bfdcbc5c0 100644
|
| --- a/cc/test/fake_output_surface.h
|
| +++ b/cc/test/fake_output_surface.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "cc/compositor_frame.h"
|
| #include "cc/output_surface.h"
|
| #include "cc/test/fake_software_output_device.h"
|
| #include "cc/test/fake_web_graphics_context_3d.h"
|
| @@ -47,7 +48,10 @@ class FakeOutputSurface : public OutputSurface {
|
| virtual WebKit::WebGraphicsContext3D* Context3D() const OVERRIDE;
|
| virtual SoftwareOutputDevice* SoftwareDevice() const OVERRIDE;
|
|
|
| - virtual void SendFrameToParentCompositor(const CompositorFrame&) OVERRIDE;
|
| + virtual void SendFrameToParentCompositor(CompositorFrame&) OVERRIDE;
|
| +
|
| + CompositorFrame& last_sent_frame() { return last_sent_frame_; }
|
| + size_t num_sent_frames() { return num_sent_frames_; }
|
|
|
| private:
|
| explicit FakeOutputSurface(
|
| @@ -59,6 +63,8 @@ private:
|
| scoped_ptr<SoftwareOutputDevice> software_device_;
|
| struct Capabilities capabilities_;
|
| OutputSurfaceClient* client_;
|
| + CompositorFrame last_sent_frame_;
|
| + size_t num_sent_frames_;
|
| };
|
|
|
| static inline scoped_ptr<cc::OutputSurface> createFakeOutputSurface()
|
|
|