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

Unified Diff: content/common/view_messages.h

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, tests Created 7 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 b358d0eb0d8cce0e28e27b7d7e532cb62d4f00ca..256daff0af413a934ea7fed22c9b940849b2b6c4 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1321,7 +1321,8 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
#endif
// Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame.
-IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck,
+IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck,
+ uint32 /* output_surface_id */,
cc::CompositorFrameAck /* ack */)
// Sent by the browser to ask the renderer for a snapshot of the current view.
@@ -2052,7 +2053,8 @@ IPC_MESSAGE_ROUTED1(
ViewHostMsg_CompositorSurfaceBuffersSwapped,
ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */)
-IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame,
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame,
+ uint32 /* output_surface_id */,
cc::CompositorFrame /* frame */)
// Sent by the compositor when input scroll events are dropped due to bounds
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698