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

Unified Diff: content/common/view_messages.h

Issue 15689003: Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missed lines Created 7 years, 7 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 b036cf53feb2fe377a4eb526940814e1f5fbe1c3..a03409965e6b13e33676ec651555354634bf522b 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -2022,15 +2022,22 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateFrameName,
bool /* is_top_level */,
std::string /* name */)
+
+IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params)
+ IPC_STRUCT_MEMBER(int32, surface_id)
+ IPC_STRUCT_MEMBER(uint64, surface_handle)
+ IPC_STRUCT_MEMBER(int32, route_id)
+ IPC_STRUCT_MEMBER(gfx::Size, size)
+ IPC_STRUCT_MEMBER(float, scale_factor)
+ IPC_STRUCT_MEMBER(int32, gpu_process_host_id)
+IPC_STRUCT_END()
+
// This message is synthesized by GpuProcessHost to pass through a swap message
// to the RenderWidgetHelper. This allows GetBackingStore to block for either a
// software or GPU frame.
-IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped,
- int32 /* surface id */,
- uint64 /* surface_handle */,
- int32 /* route_id */,
- gfx::Size /* size */,
- int32 /* gpu_process_host_id */)
+IPC_MESSAGE_ROUTED1(
+ ViewHostMsg_CompositorSurfaceBuffersSwapped,
+ ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */)
IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame,
cc::CompositorFrame /* frame */)

Powered by Google App Engine
This is Rietveld 408576698