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

Unified Diff: content/common/view_messages.h

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 4b65c5aaf0f02613341116bed73d50a319121ef6..33bed4caf4cd2bea80353862a06ddc66380c5009 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -15,7 +15,6 @@
#include "cc/ipc/cc_param_traits.h"
#include "cc/output/begin_frame_args.h"
#include "cc/output/compositor_frame.h"
-#include "cc/output/compositor_frame_ack.h"
#include "cc/resources/shared_bitmap.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
@@ -803,16 +802,13 @@ IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData,
gfx::Rect /* rect */)
#endif
-// Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame.
-IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck,
- uint32_t /* output_surface_id */,
- cc::CompositorFrameAck /* ack */)
-
// Sent by browser to tell renderer compositor that some resources that were
// given to the browser in a swap are not being used anymore.
-IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
+// If this message is in response to a swap then is_swap_ack is set.
+IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources,
uint32_t /* output_surface_id */,
- cc::CompositorFrameAck /* ack */)
+ bool /* is_swap_ack */,
+ cc::ReturnedResourceArray /* resources */)
// Sent by browser to give renderer compositor a new namespace ID for any
// SurfaceSequences it has to create.
« no previous file with comments | « content/common/android/sync_compositor_messages.h ('k') | content/public/browser/android/synchronous_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698