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

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

Issue 1996783002: Make cc::SurfaceId unguessable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comment 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
« no previous file with comments | « cc/ipc/cc_param_traits.cc ('k') | cc/ipc/cc_param_traits_unittest.cc » ('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/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 30 matching lines...) Expand all
41 // TODO(fsamuel): This trait belongs with skia code. 41 // TODO(fsamuel): This trait belongs with skia code.
42 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) 42 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode)
43 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, 43 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace,
44 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) 44 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST)
45 45
46 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) 46 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId)
47 IPC_STRUCT_TRAITS_MEMBER(layer_id) 47 IPC_STRUCT_TRAITS_MEMBER(layer_id)
48 IPC_STRUCT_TRAITS_MEMBER(index) 48 IPC_STRUCT_TRAITS_MEMBER(index)
49 IPC_STRUCT_TRAITS_END() 49 IPC_STRUCT_TRAITS_END()
50 50
51 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId)
52 IPC_STRUCT_TRAITS_MEMBER(id)
53 IPC_STRUCT_TRAITS_END()
54
55 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) 51 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence)
56 IPC_STRUCT_TRAITS_MEMBER(id_namespace) 52 IPC_STRUCT_TRAITS_MEMBER(id_namespace)
57 IPC_STRUCT_TRAITS_MEMBER(sequence) 53 IPC_STRUCT_TRAITS_MEMBER(sequence)
58 IPC_STRUCT_TRAITS_END() 54 IPC_STRUCT_TRAITS_END()
59 55
60 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) 56 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
61 IPC_STRUCT_TRAITS_MEMBER(material) 57 IPC_STRUCT_TRAITS_MEMBER(material)
62 IPC_STRUCT_TRAITS_MEMBER(rect) 58 IPC_STRUCT_TRAITS_MEMBER(rect)
63 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) 59 IPC_STRUCT_TRAITS_MEMBER(opaque_rect)
64 IPC_STRUCT_TRAITS_MEMBER(visible_rect) 60 IPC_STRUCT_TRAITS_MEMBER(visible_rect)
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 IPC_STRUCT_TRAITS_END() 204 IPC_STRUCT_TRAITS_END()
209 205
210 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 206 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
211 IPC_STRUCT_TRAITS_MEMBER(mailbox) 207 IPC_STRUCT_TRAITS_MEMBER(mailbox)
212 IPC_STRUCT_TRAITS_MEMBER(sync_token) 208 IPC_STRUCT_TRAITS_MEMBER(sync_token)
213 IPC_STRUCT_TRAITS_MEMBER(size) 209 IPC_STRUCT_TRAITS_MEMBER(size)
214 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 210 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
215 IPC_STRUCT_TRAITS_END() 211 IPC_STRUCT_TRAITS_END()
216 212
217 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 213 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « cc/ipc/cc_param_traits.cc ('k') | cc/ipc/cc_param_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698