Index: cc/test/fake_output_surface.h |
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h |
index 64c99aefdbf2bed51772a09e9dedb48ab6b63a02..a31c7e10042b60b2112442125a648afd4a163cc2 100644 |
--- a/cc/test/fake_output_surface.h |
+++ b/cc/test/fake_output_surface.h |
@@ -5,6 +5,7 @@ |
#ifndef CC_TEST_FAKE_OUTPUT_SURFACE_H_ |
#define CC_TEST_FAKE_OUTPUT_SURFACE_H_ |
+#include "base/time.h" |
#include "cc/output/compositor_frame.h" |
#include "cc/output/output_surface.h" |
#include "cc/output/software_output_device.h" |
@@ -61,6 +62,12 @@ class FakeOutputSurface : public OutputSurface { |
CompositorFrame& last_sent_frame() { return last_sent_frame_; } |
size_t num_sent_frames() { return num_sent_frames_; } |
+ virtual void EnableVSyncNotification(bool enable) OVERRIDE; |
+ bool vsync_notification_enabled() const { |
+ return vsync_notification_enabled_; |
+ } |
+ void DidVSync(base::TimeTicks frame_time); |
+ |
private: |
FakeOutputSurface( |
scoped_ptr<WebKit::WebGraphicsContext3D> context3d, |
@@ -72,6 +79,7 @@ class FakeOutputSurface : public OutputSurface { |
CompositorFrame last_sent_frame_; |
size_t num_sent_frames_; |
+ bool vsync_notification_enabled_; |
}; |
static inline scoped_ptr<cc::OutputSurface> CreateFakeOutputSurface() { |