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

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 compilation again 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 6ef68ccbe8a2900da200f447535564b444deef4c..7cd7683471b07e9cd30f18d56517f3c6c3a9c693 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -821,11 +821,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 */)
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/renderer/gpu/queue_message_swap_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698