Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index ce425eda0c61712edc6510f484467d7bea58e75a..bb473e24946939e22751f7d40543525247d700ce 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -91,6 +91,11 @@ class CC_EXPORT OutputSurface { |
// processing should be stopped, or lowered in priority. |
virtual void UpdateSmoothnessTakesPriority(bool prefer_smoothness) {} |
+ // Requests a vsync notification from the output surface. The notification |
+ // will be delivered by calling OutputSurfaceClient::DidVSync for all future |
+ // vsync events until the callback is disabled. |
+ virtual void EnableVSyncNotification(bool enable_vsync) {} |
+ |
protected: |
OutputSurfaceClient* client_; |
struct cc::OutputSurface::Capabilities capabilities_; |