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

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

Issue 2030033003: Replace cc::ViewportSelectionBound with gfx::SelectionBound (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use gfx::SelectionBound Created 4 years, 6 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/input/selection_bound_type.h" 8 #include "cc/input/selection_bound_type.h"
9 #include "cc/output/begin_frame_args.h" 9 #include "cc/output/begin_frame_args.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) 153 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate)
154 IPC_STRUCT_TRAITS_END() 154 IPC_STRUCT_TRAITS_END()
155 155
156 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource) 156 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource)
157 IPC_STRUCT_TRAITS_MEMBER(id) 157 IPC_STRUCT_TRAITS_MEMBER(id)
158 IPC_STRUCT_TRAITS_MEMBER(sync_token) 158 IPC_STRUCT_TRAITS_MEMBER(sync_token)
159 IPC_STRUCT_TRAITS_MEMBER(count) 159 IPC_STRUCT_TRAITS_MEMBER(count)
160 IPC_STRUCT_TRAITS_MEMBER(lost) 160 IPC_STRUCT_TRAITS_MEMBER(lost)
161 IPC_STRUCT_TRAITS_END() 161 IPC_STRUCT_TRAITS_END()
162 162
163 IPC_STRUCT_TRAITS_BEGIN(cc::ViewportSelectionBound) 163 IPC_STRUCT_TRAITS_BEGIN(cc::Selection<gfx::SelectionBound>)
164 IPC_STRUCT_TRAITS_MEMBER(type)
165 IPC_STRUCT_TRAITS_MEMBER(edge_top)
166 IPC_STRUCT_TRAITS_MEMBER(edge_bottom)
167 IPC_STRUCT_TRAITS_MEMBER(visible)
168 IPC_STRUCT_TRAITS_END()
169
170 IPC_STRUCT_TRAITS_BEGIN(cc::ViewportSelection)
171 IPC_STRUCT_TRAITS_MEMBER(start) 164 IPC_STRUCT_TRAITS_MEMBER(start)
172 IPC_STRUCT_TRAITS_MEMBER(end) 165 IPC_STRUCT_TRAITS_MEMBER(end)
173 IPC_STRUCT_TRAITS_MEMBER(is_editable) 166 IPC_STRUCT_TRAITS_MEMBER(is_editable)
174 IPC_STRUCT_TRAITS_MEMBER(is_empty_text_form_control) 167 IPC_STRUCT_TRAITS_MEMBER(is_empty_text_form_control)
175 IPC_STRUCT_TRAITS_END() 168 IPC_STRUCT_TRAITS_END()
176 169
177 IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType, 170 IPC_ENUM_TRAITS_MAX_VALUE(cc::BeginFrameArgs::BeginFrameArgsType,
178 cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1) 171 cc::BeginFrameArgs::BEGIN_FRAME_ARGS_TYPE_MAX - 1)
179 172
180 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) 173 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
(...skipping 23 matching lines...) Expand all
204 IPC_STRUCT_TRAITS_END() 197 IPC_STRUCT_TRAITS_END()
205 198
206 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 199 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
207 IPC_STRUCT_TRAITS_MEMBER(mailbox) 200 IPC_STRUCT_TRAITS_MEMBER(mailbox)
208 IPC_STRUCT_TRAITS_MEMBER(sync_token) 201 IPC_STRUCT_TRAITS_MEMBER(sync_token)
209 IPC_STRUCT_TRAITS_MEMBER(size) 202 IPC_STRUCT_TRAITS_MEMBER(size)
210 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 203 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
211 IPC_STRUCT_TRAITS_END() 204 IPC_STRUCT_TRAITS_END()
212 205
213 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 206 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698