Index: chrome/browser/renderer_host/render_widget_host_view.h |
=================================================================== |
--- chrome/browser/renderer_host/render_widget_host_view.h (revision 67289) |
+++ chrome/browser/renderer_host/render_widget_host_view.h (working copy) |
@@ -225,8 +225,18 @@ |
int32 width, |
int32 height, |
TransportDIB::Handle transport_dib) = 0; |
+ // |window| and |surface_id| indicate which accelerated surface's |
+ // buffers swapped. |renderer_id|, |route_id| and |
+ // |swap_buffers_count| are used to formulate a reply to the GPU |
+ // process to prevent it from getting too far ahead. They may all be |
+ // zero, in which case no flow control is enforced; this case is |
+ // currently used for accelerated plugins. |
virtual void AcceleratedSurfaceBuffersSwapped( |
- gfx::PluginWindowHandle window, uint64 surface_id) = 0; |
+ gfx::PluginWindowHandle window, |
+ uint64 surface_id, |
+ int renderer_id, |
+ int32 route_id, |
+ uint64 swap_buffers_count) = 0; |
virtual void GpuRenderingStateDidChange() = 0; |
#endif |