Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(910)

Side by Side Diff: cc/ipc/cc_param_traits_macros.h

Issue 2411793008: Adds BeginFrameControl via DevTools.
Patch Set: BFC prototype v2 with allow_latency_opts and waiting for BFOs. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/ipc/begin_frame_args_struct_traits.h ('k') | cc/output/begin_frame_args.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(frame_time) 163 IPC_STRUCT_TRAITS_MEMBER(frame_time)
164 IPC_STRUCT_TRAITS_MEMBER(deadline) 164 IPC_STRUCT_TRAITS_MEMBER(deadline)
165 IPC_STRUCT_TRAITS_MEMBER(interval) 165 IPC_STRUCT_TRAITS_MEMBER(interval)
166 IPC_STRUCT_TRAITS_MEMBER(type) 166 IPC_STRUCT_TRAITS_MEMBER(type)
167 IPC_STRUCT_TRAITS_MEMBER(allow_latency_optimizations)
167 IPC_STRUCT_TRAITS_END() 168 IPC_STRUCT_TRAITS_END()
168 169
169 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 170 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
170 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 171 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
171 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 172 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
172 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 173 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
173 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) 174 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size)
174 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) 175 IPC_STRUCT_TRAITS_MEMBER(root_layer_size)
175 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) 176 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor)
176 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) 177 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor)
177 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) 178 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden)
178 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 179 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
179 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 180 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
180 IPC_STRUCT_TRAITS_MEMBER(may_contain_video) 181 IPC_STRUCT_TRAITS_MEMBER(may_contain_video)
181 IPC_STRUCT_TRAITS_MEMBER( 182 IPC_STRUCT_TRAITS_MEMBER(
182 is_resourceless_software_draw_with_scroll_or_animation) 183 is_resourceless_software_draw_with_scroll_or_animation)
183 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) 184 IPC_STRUCT_TRAITS_MEMBER(top_controls_height)
184 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio) 185 IPC_STRUCT_TRAITS_MEMBER(top_controls_shown_ratio)
185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) 186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height)
186 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) 187 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio)
187 IPC_STRUCT_TRAITS_MEMBER(root_background_color) 188 IPC_STRUCT_TRAITS_MEMBER(root_background_color)
188 IPC_STRUCT_TRAITS_MEMBER(selection) 189 IPC_STRUCT_TRAITS_MEMBER(selection)
189 IPC_STRUCT_TRAITS_MEMBER(latency_info) 190 IPC_STRUCT_TRAITS_MEMBER(latency_info)
190 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) 191 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences)
191 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 192 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
192 IPC_STRUCT_TRAITS_END() 193 IPC_STRUCT_TRAITS_END()
193 194
194 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 195 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « cc/ipc/begin_frame_args_struct_traits.h ('k') | cc/output/begin_frame_args.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698