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

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

Issue 2042643002: Implement cc::CompositorFrameMetadata StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed 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/BUILD.gn ('k') | cc/ipc/compositor_frame_metadata.typemap » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module cc.mojom;
6
7 import "cc/ipc/selection.mojom";
8 import "cc/ipc/surface_id.mojom";
9 import "ui/events/mojo/latency_info.mojom";
10 import "ui/gfx/geometry/mojo/geometry.mojom";
11
12 // See cc/output/compositor_frame_metadata.h.
13 struct CompositorFrameMetadata {
14 float device_scale_factor;
15 gfx.mojom.Vector2dF root_scroll_offset;
16 float page_scale_factor;
17 gfx.mojom.SizeF scrollable_viewport_size;
18 gfx.mojom.SizeF root_layer_size;
19 float min_page_scale_factor;
20 float max_page_scale_factor;
21 bool root_overflow_x_hidden;
22 bool root_overflow_y_hidden;
23 gfx.mojom.Vector2dF location_bar_offset;
24 gfx.mojom.Vector2dF location_bar_content_translation;
25 uint32 root_background_color;
26 Selection selection;
27 array<ui.mojom.LatencyInfo> latency_info;
28 array<uint32> satisfies_sequences;
29 array<SurfaceId> referenced_surfaces;
30 };
OLDNEW
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | cc/ipc/compositor_frame_metadata.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698