| Index: content/browser/renderer_host/render_widget_host_view_mac.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_mac.h b/content/browser/renderer_host/render_widget_host_view_mac.h
|
| index e1416331a55436eebc65f44105720cda45ea4a4d..8794ab7da4c95429436155d15d2882016ffc46c2 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac.h
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.h
|
| @@ -483,10 +483,24 @@ class RenderWidgetHostViewMac : public RenderWidgetHostViewBase,
|
| void SendPendingLatencyInfoToHost();
|
| void TickPendingLatencyInfoDelay();
|
|
|
| + void SendPendingSwapAck();
|
| +
|
| private:
|
| friend class RenderWidgetHostView;
|
| friend class RenderWidgetHostViewMacTest;
|
|
|
| + struct PendingSwapAck {
|
| + PendingSwapAck(int32 route_id, int gpu_host_id, int32 renderer_id)
|
| + : route_id(route_id),
|
| + gpu_host_id(gpu_host_id),
|
| + renderer_id(renderer_id) {}
|
| + int32 route_id;
|
| + int gpu_host_id;
|
| + int32 renderer_id;
|
| + };
|
| + scoped_ptr<PendingSwapAck> pending_swap_ack_;
|
| + void AddPendingSwapAck(int32 route_id, int gpu_host_id, int32 renderer_id);
|
| +
|
| // The view will associate itself with the given widget. The native view must
|
| // be hooked up immediately to the view hierarchy, or else when it is
|
| // deleted it will delete this out from under the caller.
|
|
|