Index: content/renderer/gpu/render_widget_compositor_delegate.h |
diff --git a/content/renderer/gpu/render_widget_compositor_delegate.h b/content/renderer/gpu/render_widget_compositor_delegate.h |
index 93fc8fb33d1b5c00447c2fac0d93434481e86d34..345b34b31ae1c45ed5d784797a82c9242c1f668e 100644 |
--- a/content/renderer/gpu/render_widget_compositor_delegate.h |
+++ b/content/renderer/gpu/render_widget_compositor_delegate.h |
@@ -56,9 +56,9 @@ class CONTENT_EXPORT RenderWidgetCompositorDelegate { |
// Called by the compositor when page scale animation completed. |
virtual void DidCompletePageScaleAnimation() = 0; |
- // Notifies that the compositor has posted a swapbuffers operation to the GPU |
- // process. |
- virtual void DidCompleteSwapBuffers() = 0; |
+ // Notifies that the last submitted CompositorFrame has been processed and |
+ // will be displayed. |
+ virtual void DidReceiveCompositorFrameAck() = 0; |
// Called by the compositor to forward a proto that represents serialized |
// compositor state. |
@@ -67,15 +67,6 @@ class CONTENT_EXPORT RenderWidgetCompositorDelegate { |
// Indicates whether the RenderWidgetCompositor is about to close. |
virtual bool IsClosing() const = 0; |
- // Called by the compositor in single-threaded mode when a swap is aborted. |
- virtual void OnSwapBuffersAborted() = 0; |
- |
- // Called by the compositor in single-threaded mode when a swap completes. |
- virtual void OnSwapBuffersComplete() = 0; |
- |
- // Called by the compositor in single-threaded mode when a swap is posted. |
- virtual void OnSwapBuffersPosted() = 0; |
- |
// Requests that the client schedule a composite now, and calculate |
// appropriate delay for potential future frame. |
virtual void RequestScheduleAnimation() = 0; |