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

Unified Diff: cc/ipc/cc_param_traits_macros.h

Issue 2633303003: Clean up RenderWidgetHostView(ChildFrame and Guest) compositing code (Closed)
Patch Set: c Created 3 years, 11 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
« no previous file with comments | « no previous file | cc/surfaces/surface_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits_macros.h
diff --git a/cc/ipc/cc_param_traits_macros.h b/cc/ipc/cc_param_traits_macros.h
index 1410de744e55abb182a446cfaf462525e201d3e5..1f2386eff15818368a7fe406efd1788a2ad5283f 100644
--- a/cc/ipc/cc_param_traits_macros.h
+++ b/cc/ipc/cc_param_traits_macros.h
@@ -22,6 +22,7 @@
#include "cc/resources/returned_resource.h"
#include "cc/resources/transferable_resource.h"
#include "cc/surfaces/surface_id.h"
+#include "cc/surfaces/surface_info.h"
#include "cc/surfaces/surface_sequence.h"
#include "ui/events/ipc/latency_info_param_traits.h"
#include "ui/gfx/ipc/color/gfx_param_traits.h"
@@ -188,4 +189,10 @@ IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceInfo)
+ IPC_STRUCT_TRAITS_MEMBER(id_)
+ IPC_STRUCT_TRAITS_MEMBER(device_scale_factor_)
+ IPC_STRUCT_TRAITS_MEMBER(size_in_pixels_)
+IPC_STRUCT_TRAITS_END()
+
#endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
« no previous file with comments | « no previous file | cc/surfaces/surface_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698