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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 IPC_STRUCT_TRAITS_MEMBER(start) | 153 IPC_STRUCT_TRAITS_MEMBER(start) |
154 IPC_STRUCT_TRAITS_MEMBER(end) | 154 IPC_STRUCT_TRAITS_MEMBER(end) |
155 IPC_STRUCT_TRAITS_MEMBER(is_editable) | 155 IPC_STRUCT_TRAITS_MEMBER(is_editable) |
156 IPC_STRUCT_TRAITS_MEMBER(is_empty_text_form_control) | 156 IPC_STRUCT_TRAITS_MEMBER(is_empty_text_form_control) |
157 IPC_STRUCT_TRAITS_END() | 157 IPC_STRUCT_TRAITS_END() |
158 | 158 |
159 IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType, | 159 IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType, |
160 cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1) | 160 cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1) |
161 | 161 |
162 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) | 162 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) |
| 163 IPC_STRUCT_TRAITS_MEMBER(source_id) |
| 164 IPC_STRUCT_TRAITS_MEMBER(sequence_number) |
163 IPC_STRUCT_TRAITS_MEMBER(frame_time) | 165 IPC_STRUCT_TRAITS_MEMBER(frame_time) |
164 IPC_STRUCT_TRAITS_MEMBER(deadline) | 166 IPC_STRUCT_TRAITS_MEMBER(deadline) |
165 IPC_STRUCT_TRAITS_MEMBER(interval) | 167 IPC_STRUCT_TRAITS_MEMBER(interval) |
166 IPC_STRUCT_TRAITS_MEMBER(type) | 168 IPC_STRUCT_TRAITS_MEMBER(type) |
167 IPC_STRUCT_TRAITS_END() | 169 IPC_STRUCT_TRAITS_END() |
168 | 170 |
| 171 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameAck) |
| 172 IPC_STRUCT_TRAITS_MEMBER(source_id) |
| 173 IPC_STRUCT_TRAITS_MEMBER(sequence_number) |
| 174 IPC_STRUCT_TRAITS_MEMBER(has_updates) |
| 175 IPC_STRUCT_TRAITS_MEMBER(oldest_incorporated_frame) |
| 176 IPC_STRUCT_TRAITS_MEMBER(remaining_frames) |
| 177 IPC_STRUCT_TRAITS_END() |
| 178 |
169 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) | 179 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) |
170 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) | 180 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) |
171 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) | 181 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) |
172 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) | 182 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) |
173 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) | 183 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) |
174 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) | 184 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) |
175 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) | 185 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) |
176 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) | 186 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) |
177 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) | 187 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) |
178 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) | 188 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) |
179 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) | 189 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) |
180 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) | 190 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) |
181 IPC_STRUCT_TRAITS_MEMBER( | 191 IPC_STRUCT_TRAITS_MEMBER( |
182 is_resourceless_software_draw_with_scroll_or_animation) | 192 is_resourceless_software_draw_with_scroll_or_animation) |
183 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) | 193 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) |
184 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) | 194 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) |
185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 195 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 196 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
187 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 197 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
188 IPC_STRUCT_TRAITS_MEMBER(selection) | 198 IPC_STRUCT_TRAITS_MEMBER(selection) |
189 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 199 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
190 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) | 200 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) |
191 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 201 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
| 202 IPC_STRUCT_TRAITS_MEMBER(begin_frame_source_id) |
| 203 IPC_STRUCT_TRAITS_MEMBER(begin_frame_number) |
| 204 IPC_STRUCT_TRAITS_MEMBER(oldest_incorporated_frame) |
192 IPC_STRUCT_TRAITS_END() | 205 IPC_STRUCT_TRAITS_END() |
193 | 206 |
194 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 207 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |