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

Unified Diff: content/common/view_messages.h

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. Created 4 years 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 b9d444dbfe04c8058556966598d374301c1dfb1a..16d56092d16066ced079b1897c6c66f74a27037e 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -828,6 +828,11 @@ IPC_MESSAGE_ROUTED3(
cc::CompositorFrame /* frame */,
std::vector<IPC::Message> /* messages_to_deliver_with_frame */)
+// Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no
+// updates were required or because it was aborted in the renderer).
+IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotDraw,
+ cc::BeginFrameAck /* ack */)
+
// Send back a string to be recorded by UserMetrics.
IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
std::string /* action */)

Powered by Google App Engine
This is Rietveld 408576698