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

Unified Diff: content/common/view_messages.h

Issue 2185823005: Make RenderViewImpl::OnForceRedraw more robust (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments and add tests Created 4 years, 4 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 562ec4432d29cb6fc568314d15e96253b5e4870c..50338036cd821b9027edad684603a2c6e1c6ad84 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -819,11 +819,11 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId,
IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
-// Sent by the browser to ask the renderer to redraw.
-// If |request_id| is not zero, it is added to the forced frame's latency info
-// as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT.
+// Sent by the browser to ask the renderer to redraw. Robust to events that can
+// happen in renderer (abortion of the commit or draw, loss of output surface
+// etc.).
IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
- int /* request_id */)
+ ui::LatencyInfo /* latency_info */)
// Let renderer know begin frame messages won't be sent even if requested.
IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */)

Powered by Google App Engine
This is Rietveld 408576698