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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | cc/surfaces/surface_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 5 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_
6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_
7 7
8 #include "cc/output/begin_frame_args.h" 8 #include "cc/output/begin_frame_args.h"
9 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
10 #include "cc/output/filter_operation.h" 10 #include "cc/output/filter_operation.h"
11 #include "cc/quads/debug_border_draw_quad.h" 11 #include "cc/quads/debug_border_draw_quad.h"
12 #include "cc/quads/draw_quad.h" 12 #include "cc/quads/draw_quad.h"
13 #include "cc/quads/render_pass.h" 13 #include "cc/quads/render_pass.h"
14 #include "cc/quads/shared_quad_state.h" 14 #include "cc/quads/shared_quad_state.h"
15 #include "cc/quads/solid_color_draw_quad.h" 15 #include "cc/quads/solid_color_draw_quad.h"
16 #include "cc/quads/stream_video_draw_quad.h" 16 #include "cc/quads/stream_video_draw_quad.h"
17 #include "cc/quads/surface_draw_quad.h" 17 #include "cc/quads/surface_draw_quad.h"
18 #include "cc/quads/texture_draw_quad.h" 18 #include "cc/quads/texture_draw_quad.h"
19 #include "cc/quads/tile_draw_quad.h" 19 #include "cc/quads/tile_draw_quad.h"
20 #include "cc/quads/yuv_video_draw_quad.h" 20 #include "cc/quads/yuv_video_draw_quad.h"
21 #include "cc/resources/resource_format.h" 21 #include "cc/resources/resource_format.h"
22 #include "cc/resources/returned_resource.h" 22 #include "cc/resources/returned_resource.h"
23 #include "cc/resources/transferable_resource.h" 23 #include "cc/resources/transferable_resource.h"
24 #include "cc/surfaces/surface_id.h" 24 #include "cc/surfaces/surface_id.h"
25 #include "cc/surfaces/surface_info.h"
25 #include "cc/surfaces/surface_sequence.h" 26 #include "cc/surfaces/surface_sequence.h"
26 #include "ui/events/ipc/latency_info_param_traits.h" 27 #include "ui/events/ipc/latency_info_param_traits.h"
27 #include "ui/gfx/ipc/color/gfx_param_traits.h" 28 #include "ui/gfx/ipc/color/gfx_param_traits.h"
28 #include "ui/gfx/ipc/gfx_param_traits.h" 29 #include "ui/gfx/ipc/gfx_param_traits.h"
29 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" 30 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
30 31
31 #undef IPC_MESSAGE_EXPORT 32 #undef IPC_MESSAGE_EXPORT
32 #define IPC_MESSAGE_EXPORT CC_IPC_EXPORT 33 #define IPC_MESSAGE_EXPORT CC_IPC_EXPORT
33 34
34 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) 35 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST)
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) 182 IPC_STRUCT_TRAITS_MEMBER(top_controls_height)
182 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) 183 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio)
183 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) 184 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height)
184 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) 185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio)
185 IPC_STRUCT_TRAITS_MEMBER(root_background_color) 186 IPC_STRUCT_TRAITS_MEMBER(root_background_color)
186 IPC_STRUCT_TRAITS_MEMBER(selection) 187 IPC_STRUCT_TRAITS_MEMBER(selection)
187 IPC_STRUCT_TRAITS_MEMBER(latency_info) 188 IPC_STRUCT_TRAITS_MEMBER(latency_info)
188 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 189 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
189 IPC_STRUCT_TRAITS_END() 190 IPC_STRUCT_TRAITS_END()
190 191
192 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceInfo)
193 IPC_STRUCT_TRAITS_MEMBER(id_)
194 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor_)
195 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels_)
196 IPC_STRUCT_TRAITS_END()
197
191 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 198 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW
« 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