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

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

Issue 300323005: Route selection bounds updates through the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 6 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
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.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 (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"
11 #include "cc/output/viewport_selection_bound.h"
11 #include "cc/quads/checkerboard_draw_quad.h" 12 #include "cc/quads/checkerboard_draw_quad.h"
12 #include "cc/quads/debug_border_draw_quad.h" 13 #include "cc/quads/debug_border_draw_quad.h"
13 #include "cc/quads/draw_quad.h" 14 #include "cc/quads/draw_quad.h"
14 #include "cc/quads/io_surface_draw_quad.h" 15 #include "cc/quads/io_surface_draw_quad.h"
15 #include "cc/quads/picture_draw_quad.h" 16 #include "cc/quads/picture_draw_quad.h"
16 #include "cc/quads/render_pass.h" 17 #include "cc/quads/render_pass.h"
17 #include "cc/quads/render_pass_draw_quad.h" 18 #include "cc/quads/render_pass_draw_quad.h"
18 #include "cc/quads/shared_quad_state.h" 19 #include "cc/quads/shared_quad_state.h"
19 #include "cc/quads/solid_color_draw_quad.h" 20 #include "cc/quads/solid_color_draw_quad.h"
20 #include "cc/quads/stream_video_draw_quad.h" 21 #include "cc/quads/stream_video_draw_quad.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #define IPC_MESSAGE_START CCMsgStart 126 #define IPC_MESSAGE_START CCMsgStart
126 #undef IPC_MESSAGE_EXPORT 127 #undef IPC_MESSAGE_EXPORT
127 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 128 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
128 129
129 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST) 130 IPC_ENUM_TRAITS_MAX_VALUE(cc::DrawQuad::Material, cc::DrawQuad::MATERIAL_LAST)
130 IPC_ENUM_TRAITS_MAX_VALUE(cc::IOSurfaceDrawQuad::Orientation, 131 IPC_ENUM_TRAITS_MAX_VALUE(cc::IOSurfaceDrawQuad::Orientation,
131 cc::IOSurfaceDrawQuad::ORIENTATION_LAST) 132 cc::IOSurfaceDrawQuad::ORIENTATION_LAST)
132 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType, 133 IPC_ENUM_TRAITS_MAX_VALUE(cc::FilterOperation::FilterType,
133 cc::FilterOperation::FILTER_TYPE_LAST ) 134 cc::FilterOperation::FILTER_TYPE_LAST )
134 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX) 135 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX)
136 IPC_ENUM_TRAITS_MAX_VALUE(cc::SelectionBoundType, cc::SELECTION_BOUND_TYPE_LAST)
135 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) 137 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode)
136 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, 138 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace,
137 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) 139 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST)
138 140
139 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) 141 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id)
140 IPC_STRUCT_TRAITS_MEMBER(layer_id) 142 IPC_STRUCT_TRAITS_MEMBER(layer_id)
141 IPC_STRUCT_TRAITS_MEMBER(index) 143 IPC_STRUCT_TRAITS_MEMBER(index)
142 IPC_STRUCT_TRAITS_END() 144 IPC_STRUCT_TRAITS_END()
143 145
144 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId) 146 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId)
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 IPC_STRUCT_TRAITS_MEMBER(is_software) 254 IPC_STRUCT_TRAITS_MEMBER(is_software)
253 IPC_STRUCT_TRAITS_END() 255 IPC_STRUCT_TRAITS_END()
254 256
255 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource) 257 IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource)
256 IPC_STRUCT_TRAITS_MEMBER(id) 258 IPC_STRUCT_TRAITS_MEMBER(id)
257 IPC_STRUCT_TRAITS_MEMBER(sync_point) 259 IPC_STRUCT_TRAITS_MEMBER(sync_point)
258 IPC_STRUCT_TRAITS_MEMBER(count) 260 IPC_STRUCT_TRAITS_MEMBER(count)
259 IPC_STRUCT_TRAITS_MEMBER(lost) 261 IPC_STRUCT_TRAITS_MEMBER(lost)
260 IPC_STRUCT_TRAITS_END() 262 IPC_STRUCT_TRAITS_END()
261 263
264 IPC_STRUCT_TRAITS_BEGIN(cc::ViewportSelectionBound)
265 IPC_STRUCT_TRAITS_MEMBER(type)
266 IPC_STRUCT_TRAITS_MEMBER(viewport_rect)
267 IPC_STRUCT_TRAITS_MEMBER(visible)
268 IPC_STRUCT_TRAITS_END()
269
262 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs) 270 IPC_STRUCT_TRAITS_BEGIN(cc::BeginFrameArgs)
263 IPC_STRUCT_TRAITS_MEMBER(frame_time) 271 IPC_STRUCT_TRAITS_MEMBER(frame_time)
264 IPC_STRUCT_TRAITS_MEMBER(deadline) 272 IPC_STRUCT_TRAITS_MEMBER(deadline)
265 IPC_STRUCT_TRAITS_MEMBER(interval) 273 IPC_STRUCT_TRAITS_MEMBER(interval)
266 IPC_STRUCT_TRAITS_END() 274 IPC_STRUCT_TRAITS_END()
267 275
268 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata) 276 IPC_STRUCT_TRAITS_BEGIN(cc::CompositorFrameMetadata)
269 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor) 277 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor)
270 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset) 278 IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
271 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor) 279 IPC_STRUCT_TRAITS_MEMBER(page_scale_factor)
272 IPC_STRUCT_TRAITS_MEMBER(viewport_size) 280 IPC_STRUCT_TRAITS_MEMBER(viewport_size)
273 IPC_STRUCT_TRAITS_MEMBER(root_layer_size) 281 IPC_STRUCT_TRAITS_MEMBER(root_layer_size)
274 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) 282 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor)
275 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) 283 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor)
276 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) 284 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset)
277 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) 285 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation)
278 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height) 286 IPC_STRUCT_TRAITS_MEMBER(overdraw_bottom_height)
287 IPC_STRUCT_TRAITS_MEMBER(selection_anchor)
288 IPC_STRUCT_TRAITS_MEMBER(selection_focus)
279 IPC_STRUCT_TRAITS_MEMBER(latency_info) 289 IPC_STRUCT_TRAITS_MEMBER(latency_info)
280 IPC_STRUCT_TRAITS_END() 290 IPC_STRUCT_TRAITS_END()
281 291
282 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 292 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
283 IPC_STRUCT_TRAITS_MEMBER(mailbox) 293 IPC_STRUCT_TRAITS_MEMBER(mailbox)
284 IPC_STRUCT_TRAITS_MEMBER(sync_point) 294 IPC_STRUCT_TRAITS_MEMBER(sync_point)
285 IPC_STRUCT_TRAITS_MEMBER(size) 295 IPC_STRUCT_TRAITS_MEMBER(size)
286 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 296 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
287 IPC_STRUCT_TRAITS_END() 297 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698