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

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

Issue 2106753004: Introduce bottom controls to CC and let it respond to scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: content-offset -> top-controls-shown renaming and respond to bokan's comments Created 4 years, 5 months 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
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 177 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
178 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 178 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
179 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 179 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
180 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 180 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
181 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size) 181 IPC_STRUCT_TRAITS_MEMBER(scrollable_viewport_size)
182 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) 182 IPC_STRUCT_TRAITS_MEMBER(root_layer_size)
183 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) 183 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor)
184 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) 184 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor)
185 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden) 185 IPC_STRUCT_TRAITS_MEMBER(root_overflow_x_hidden)
186 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden) 186 IPC_STRUCT_TRAITS_MEMBER(root_overflow_y_hidden)
187 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) 187 IPC_STRUCT_TRAITS_MEMBER(top_bar_translate)
188 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) 188 IPC_STRUCT_TRAITS_MEMBER(top_bar_shown)
189 IPC_STRUCT_TRAITS_MEMBER(bottom_bar_translate)
190 IPC_STRUCT_TRAITS_MEMBER(bottom_bar_shown)
189 IPC_STRUCT_TRAITS_MEMBER(root_background_color) 191 IPC_STRUCT_TRAITS_MEMBER(root_background_color)
190 IPC_STRUCT_TRAITS_MEMBER(selection) 192 IPC_STRUCT_TRAITS_MEMBER(selection)
191 IPC_STRUCT_TRAITS_MEMBER(latency_info) 193 IPC_STRUCT_TRAITS_MEMBER(latency_info)
192 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) 194 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences)
193 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 195 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
194 IPC_STRUCT_TRAITS_END() 196 IPC_STRUCT_TRAITS_END()
195 197
196 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 198 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
197 IPC_STRUCT_TRAITS_MEMBER(mailbox) 199 IPC_STRUCT_TRAITS_MEMBER(mailbox)
198 IPC_STRUCT_TRAITS_MEMBER(sync_token) 200 IPC_STRUCT_TRAITS_MEMBER(sync_token)
199 IPC_STRUCT_TRAITS_MEMBER(size) 201 IPC_STRUCT_TRAITS_MEMBER(size)
200 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 202 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
201 IPC_STRUCT_TRAITS_END() 203 IPC_STRUCT_TRAITS_END()
202 204
203 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 205 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698