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