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

Unified Diff: content/common/content_param_traits_macros.h

Issue 2882303002: Factor FrameData out of RendererCompositorFrameSink (Closed)
Patch Set: c Created 3 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
« no previous file with comments | « content/common/common_param_traits_unittest.cc ('k') | content/common/render_widget_surface_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_param_traits_macros.h
diff --git a/content/common/content_param_traits_macros.h b/content/common/content_param_traits_macros.h
index 1f3597a732c763489b984a6b0eeae612c03bb665..a1187c7887dec2bac759975dd6a5ed5316a60f84 100644
--- a/content/common/content_param_traits_macros.h
+++ b/content/common/content_param_traits_macros.h
@@ -8,9 +8,11 @@
#ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
#define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
+#include "cc/ipc/cc_param_traits.h"
#include "content/common/content_export.h"
#include "content/common/download/mhtml_save_status.h"
#include "content/common/input/input_event_ack_state.h"
+#include "content/common/render_widget_surface_properties.h"
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
#include "content/public/common/resource_type.h"
@@ -22,6 +24,7 @@
#include "third_party/WebKit/public/web/WebCompositionUnderline.h"
#include "third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h"
#include "ui/gfx/gpu_memory_buffer.h"
+#include "ui/gfx/ipc/geometry/gfx_param_traits.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
@@ -57,4 +60,17 @@ IPC_STRUCT_TRAITS_BEGIN(blink::WebCompositionUnderline)
IPC_STRUCT_TRAITS_MEMBER(background_color)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(content::RenderWidgetSurfaceProperties)
+ IPC_STRUCT_TRAITS_MEMBER(size)
+ IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
+#ifdef OS_ANDROID
+ IPC_STRUCT_TRAITS_MEMBER(top_controls_height)
+ IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio)
+ IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height)
+ IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio)
+ IPC_STRUCT_TRAITS_MEMBER(selection)
+ IPC_STRUCT_TRAITS_MEMBER(has_transparent_background)
+#endif
+IPC_STRUCT_TRAITS_END()
+
#endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
« no previous file with comments | « content/common/common_param_traits_unittest.cc ('k') | content/common/render_widget_surface_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698