Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 82ffcc94291e1c74b432132e9eefe31bfa027c6f..4b14ed9b7640a94e5c86389c3e96a24436fd2792 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -596,6 +596,14 @@ IPC_MESSAGE_ROUTED3(ViewMsg_UpdateBrowserControlsState, |
#endif |
+// Sent by browser to tell renderer compositor that some resources that were |
+// given to the browser in a swap are not being used anymore. |
+// If this message is in response to a swap then is_swap_ack is set. |
+IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
+ uint32_t /* compositor_frame_sink_id */, |
+ bool /* is_swap_ack */, |
+ cc::ReturnedResourceArray /* resources */) |
+ |
IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
// Sent by the browser to ask the renderer to redraw. Robust to events that can |
@@ -796,6 +804,11 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, |
int /* minimum_percent */, |
int /* maximum_percent */) |
+IPC_MESSAGE_ROUTED3(ViewHostMsg_SwapCompositorFrame, |
+ uint32_t /* compositor_frame_sink_id */, |
+ cc::LocalSurfaceId /* local_surface_id */, |
+ cc::CompositorFrame /* frame */) |
+ |
IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameSwapMessages, |
uint32_t /* frame_token */, |
std::vector<IPC::Message> /* messages */) |