OLD | NEW |
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" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 IPC_STRUCT_TRAITS_MEMBER(is_empty_text_form_control) | 152 IPC_STRUCT_TRAITS_MEMBER(is_empty_text_form_control) |
153 IPC_STRUCT_TRAITS_END() | 153 IPC_STRUCT_TRAITS_END() |
154 | 154 |
155 IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType, | 155 IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType, |
156 cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1) | 156 cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1) |
157 | 157 |
158 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) | 158 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) |
159 IPC_STRUCT_TRAITS_MEMBER(frame_time) | 159 IPC_STRUCT_TRAITS_MEMBER(frame_time) |
160 IPC_STRUCT_TRAITS_MEMBER(deadline) | 160 IPC_STRUCT_TRAITS_MEMBER(deadline) |
161 IPC_STRUCT_TRAITS_MEMBER(interval) | 161 IPC_STRUCT_TRAITS_MEMBER(interval) |
| 162 IPC_STRUCT_TRAITS_MEMBER(sequence_number) |
| 163 IPC_STRUCT_TRAITS_MEMBER(source_id) |
162 IPC_STRUCT_TRAITS_MEMBER(type) | 164 IPC_STRUCT_TRAITS_MEMBER(type) |
163 IPC_STRUCT_TRAITS_END() | 165 IPC_STRUCT_TRAITS_END() |
164 | 166 |
165 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) | 167 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) |
166 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) | 168 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) |
167 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) | 169 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) |
168 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) | 170 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) |
169 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) | 171 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) |
170 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) | 172 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) |
171 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) | 173 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) |
172 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) | 174 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) |
173 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) | 175 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) |
174 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) | 176 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) |
175 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) | 177 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) |
176 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) | 178 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) |
177 IPC_STRUCT_TRAITS_MEMBER( | 179 IPC_STRUCT_TRAITS_MEMBER( |
178 is_resourceless_software_draw_with_scroll_or_animation) | 180 is_resourceless_software_draw_with_scroll_or_animation) |
179 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) | 181 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) |
180 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) | 182 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) |
181 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 183 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
182 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 184 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
183 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 185 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
184 IPC_STRUCT_TRAITS_MEMBER(selection) | 186 IPC_STRUCT_TRAITS_MEMBER(selection) |
185 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 187 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
186 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 188 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
187 IPC_STRUCT_TRAITS_END() | 189 IPC_STRUCT_TRAITS_END() |
188 | 190 |
189 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 191 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |