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

Side by Side Diff: cc/ipc/compositor_frame_metadata.mojom

Issue 2965103003: Test
Patch Set: c Created 3 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 | « no previous file | cc/ipc/compositor_frame_metadata_struct_traits.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 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 module cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/begin_frame_args.mojom"; 7 import "cc/ipc/begin_frame_args.mojom";
8 import "cc/ipc/selection.mojom"; 8 import "cc/ipc/selection.mojom";
9 import "cc/ipc/surface_id.mojom"; 9 import "cc/ipc/surface_id.mojom";
10 import "ui/latency/mojo/latency_info.mojom"; 10 import "ui/latency/mojo/latency_info.mojom";
11 import "ui/gfx/geometry/mojo/geometry.mojom"; 11 import "ui/gfx/geometry/mojo/geometry.mojom";
12 import "gpu/ipc/common/mailbox.mojom";
13
14 struct SharedBitmapInfo {
15 handle<shared_buffer> buffer;
16 gpu.mojom.Mailbox id;
17 };
12 18
13 // See cc/output/compositor_frame_metadata.h. 19 // See cc/output/compositor_frame_metadata.h.
14 struct CompositorFrameMetadata { 20 struct CompositorFrameMetadata {
15 float device_scale_factor; 21 float device_scale_factor;
16 gfx.mojom.Vector2dF root_scroll_offset; 22 gfx.mojom.Vector2dF root_scroll_offset;
17 float page_scale_factor; 23 float page_scale_factor;
18 gfx.mojom.SizeF scrollable_viewport_size; 24 gfx.mojom.SizeF scrollable_viewport_size;
19 gfx.mojom.SizeF root_layer_size; 25 gfx.mojom.SizeF root_layer_size;
20 float min_page_scale_factor; 26 float min_page_scale_factor;
21 float max_page_scale_factor; 27 float max_page_scale_factor;
22 bool root_overflow_x_hidden; 28 bool root_overflow_x_hidden;
23 bool root_overflow_y_hidden; 29 bool root_overflow_y_hidden;
24 bool may_contain_video; 30 bool may_contain_video;
25 bool is_resourceless_software_draw_with_scroll_or_animation; 31 bool is_resourceless_software_draw_with_scroll_or_animation;
26 float top_controls_height; 32 float top_controls_height;
27 float top_controls_shown_ratio; 33 float top_controls_shown_ratio;
28 float bottom_controls_height; 34 float bottom_controls_height;
29 float bottom_controls_shown_ratio; 35 float bottom_controls_shown_ratio;
30 uint32 root_background_color; 36 uint32 root_background_color;
31 Selection selection; 37 Selection selection;
32 array<ui.mojom.LatencyInfo> latency_info; 38 array<ui.mojom.LatencyInfo> latency_info;
33 array<SurfaceId> referenced_surfaces; 39 array<SurfaceId> referenced_surfaces;
34 array<SurfaceId> activation_dependencies; 40 array<SurfaceId> activation_dependencies;
35 bool can_activate_before_dependencies; 41 bool can_activate_before_dependencies;
36 uint32 content_source_id; 42 uint32 content_source_id;
37 BeginFrameAck begin_frame_ack; 43 BeginFrameAck begin_frame_ack;
38 uint32 frame_token; 44 uint32 frame_token;
45 array<SharedBitmapInfo> shared_bitmaps_to_register;
39 }; 46 };
OLDNEW
« no previous file with comments | « no previous file | cc/ipc/compositor_frame_metadata_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698