Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Unified Diff: content/common/view_messages.h

Issue 2835403004: Revert "Use MojoCompositorFrameSink in RendererCompositorFrameSink"
Patch Set: Rebased Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */)
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698