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

Side by Side Diff: content/common/cc_messages.h

Issue 1496103002: Reusing base::IdType<...> to implement SurfaceId. Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-id-base
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC Messages sent between compositor instances. 5 // IPC Messages sent between compositor instances.
6 6
7 #include "cc/output/begin_frame_args.h" 7 #include "cc/output/begin_frame_args.h"
8 #include "cc/output/compositor_frame.h" 8 #include "cc/output/compositor_frame.h"
9 #include "cc/output/compositor_frame_ack.h" 9 #include "cc/output/compositor_frame_ack.h"
10 #include "cc/output/filter_operation.h" 10 #include "cc/output/filter_operation.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 IPC_ENUM_TRAITS_MAX_VALUE(cc::SelectionBoundType, cc::SELECTION_BOUND_TYPE_LAST) 152 IPC_ENUM_TRAITS_MAX_VALUE(cc::SelectionBoundType, cc::SELECTION_BOUND_TYPE_LAST)
153 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) 153 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode)
154 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, 154 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace,
155 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) 155 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST)
156 156
157 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) 157 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId)
158 IPC_STRUCT_TRAITS_MEMBER(layer_id) 158 IPC_STRUCT_TRAITS_MEMBER(layer_id)
159 IPC_STRUCT_TRAITS_MEMBER(index) 159 IPC_STRUCT_TRAITS_MEMBER(index)
160 IPC_STRUCT_TRAITS_END() 160 IPC_STRUCT_TRAITS_END()
161 161
162 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId)
163 IPC_STRUCT_TRAITS_MEMBER(id)
164 IPC_STRUCT_TRAITS_END()
165
166 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) 162 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence)
167 IPC_STRUCT_TRAITS_MEMBER(id_namespace) 163 IPC_STRUCT_TRAITS_MEMBER(id_namespace)
168 IPC_STRUCT_TRAITS_MEMBER(sequence) 164 IPC_STRUCT_TRAITS_MEMBER(sequence)
169 IPC_STRUCT_TRAITS_END() 165 IPC_STRUCT_TRAITS_END()
170 166
171 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) 167 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
172 IPC_STRUCT_TRAITS_MEMBER(material) 168 IPC_STRUCT_TRAITS_MEMBER(material)
173 IPC_STRUCT_TRAITS_MEMBER(rect) 169 IPC_STRUCT_TRAITS_MEMBER(rect)
174 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) 170 IPC_STRUCT_TRAITS_MEMBER(opaque_rect)
175 IPC_STRUCT_TRAITS_MEMBER(visible_rect) 171 IPC_STRUCT_TRAITS_MEMBER(visible_rect)
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 IPC_STRUCT_TRAITS_MEMBER(latency_info) 315 IPC_STRUCT_TRAITS_MEMBER(latency_info)
320 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) 316 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences)
321 IPC_STRUCT_TRAITS_END() 317 IPC_STRUCT_TRAITS_END()
322 318
323 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 319 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
324 IPC_STRUCT_TRAITS_MEMBER(mailbox) 320 IPC_STRUCT_TRAITS_MEMBER(mailbox)
325 IPC_STRUCT_TRAITS_MEMBER(sync_token) 321 IPC_STRUCT_TRAITS_MEMBER(sync_token)
326 IPC_STRUCT_TRAITS_MEMBER(size) 322 IPC_STRUCT_TRAITS_MEMBER(size)
327 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 323 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
328 IPC_STRUCT_TRAITS_END() 324 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « content/browser/frame_host/cross_process_frame_connector.h ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698