| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 IPC_STRUCT_TRAITS_MEMBER(start) | 149 IPC_STRUCT_TRAITS_MEMBER(start) |
| 150 IPC_STRUCT_TRAITS_MEMBER(end) | 150 IPC_STRUCT_TRAITS_MEMBER(end) |
| 151 IPC_STRUCT_TRAITS_MEMBER(is_editable) | 151 IPC_STRUCT_TRAITS_MEMBER(is_editable) |
| 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(source_id) |
| 160 IPC_STRUCT_TRAITS_MEMBER(sequence_number) |
| 159 IPC_STRUCT_TRAITS_MEMBER(frame_time) | 161 IPC_STRUCT_TRAITS_MEMBER(frame_time) |
| 160 IPC_STRUCT_TRAITS_MEMBER(deadline) | 162 IPC_STRUCT_TRAITS_MEMBER(deadline) |
| 161 IPC_STRUCT_TRAITS_MEMBER(interval) | 163 IPC_STRUCT_TRAITS_MEMBER(interval) |
| 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) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 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 |