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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
168 | 168 |
169 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) | 169 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) |
170 IPC_STRUCT_TRAITS_MEMBER(frame_time) | 170 IPC_STRUCT_TRAITS_MEMBER(frame_time) |
171 IPC_STRUCT_TRAITS_MEMBER(deadline) | 171 IPC_STRUCT_TRAITS_MEMBER(deadline) |
172 IPC_STRUCT_TRAITS_MEMBER(interval) | 172 IPC_STRUCT_TRAITS_MEMBER(interval) |
173 IPC_STRUCT_TRAITS_MEMBER(sequence_number) | 173 IPC_STRUCT_TRAITS_MEMBER(sequence_number) |
174 IPC_STRUCT_TRAITS_MEMBER(source_id) | 174 IPC_STRUCT_TRAITS_MEMBER(source_id) |
175 IPC_STRUCT_TRAITS_MEMBER(type) | 175 IPC_STRUCT_TRAITS_MEMBER(type) |
176 IPC_STRUCT_TRAITS_END() | 176 IPC_STRUCT_TRAITS_END() |
177 | 177 |
178 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameAck) | |
179 IPC_STRUCT_TRAITS_MEMBER(sequence_number) | |
180 IPC_STRUCT_TRAITS_MEMBER(latest_confirmed_sequence_number) | |
181 IPC_STRUCT_TRAITS_MEMBER(source_id) | |
182 IPC_STRUCT_TRAITS_MEMBER(remaining_frames) | |
183 IPC_STRUCT_TRAITS_MEMBER(has_damage) | |
184 IPC_STRUCT_TRAITS_END() | |
185 | |
178 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) | 186 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) |
179 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) | 187 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) |
180 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) | 188 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) |
181 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) | 189 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) |
182 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) | 190 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) |
183 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) | 191 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) |
184 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) | 192 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) |
185 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) | 193 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) |
186 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) | 194 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) |
187 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) | 195 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) |
188 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) | 196 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) |
189 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) | 197 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) |
190 IPC_STRUCT_TRAITS_MEMBER( | 198 IPC_STRUCT_TRAITS_MEMBER( |
191 is_resourceless_software_draw_with_scroll_or_animation) | 199 is_resourceless_software_draw_with_scroll_or_animation) |
192 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) | 200 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) |
193 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) | 201 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) |
194 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 202 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
195 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) | 203 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) |
196 IPC_STRUCT_TRAITS_MEMBER(root_background_color) | 204 IPC_STRUCT_TRAITS_MEMBER(root_background_color) |
197 IPC_STRUCT_TRAITS_MEMBER(selection) | 205 IPC_STRUCT_TRAITS_MEMBER(selection) |
198 IPC_STRUCT_TRAITS_MEMBER(latency_info) | 206 IPC_STRUCT_TRAITS_MEMBER(latency_info) |
199 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) | 207 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) |
200 IPC_STRUCT_TRAITS_MEMBER(content_source_id) | 208 IPC_STRUCT_TRAITS_MEMBER(content_source_id) |
209 IPC_STRUCT_TRAITS_MEMBER(begin_frame_ack) | |
Fady Samuel
2017/03/10 16:39:30
Please update mojoms too!
danakj
2017/03/10 16:40:46
Maybe you can write a presubmit, or some comments,
Eric Seckler
2017/03/14 11:13:41
Updated the mojoms.
| |
201 IPC_STRUCT_TRAITS_END() | 210 IPC_STRUCT_TRAITS_END() |
202 | 211 |
203 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ | 212 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |