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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | cc/ipc/compositor_frame_metadata.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/compositor_frame_metadata.mojom
diff --git a/cc/ipc/compositor_frame_metadata.mojom b/cc/ipc/compositor_frame_metadata.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..8db3460dd018d915ac00f0e03cbf51f2f24952dc
--- /dev/null
+++ b/cc/ipc/compositor_frame_metadata.mojom
@@ -0,0 +1,30 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module cc.mojom;
+
+import "cc/ipc/selection.mojom";
+import "cc/ipc/surface_id.mojom";
+import "ui/events/mojo/latency_info.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// See cc/output/compositor_frame_metadata.h.
+struct CompositorFrameMetadata {
+ float device_scale_factor;
+ gfx.mojom.Vector2dF root_scroll_offset;
+ float page_scale_factor;
+ gfx.mojom.SizeF scrollable_viewport_size;
+ gfx.mojom.SizeF root_layer_size;
+ float min_page_scale_factor;
+ float max_page_scale_factor;
+ bool root_overflow_x_hidden;
+ bool root_overflow_y_hidden;
+ gfx.mojom.Vector2dF location_bar_offset;
+ gfx.mojom.Vector2dF location_bar_content_translation;
+ uint32 root_background_color;
+ Selection selection;
+ array<ui.mojom.LatencyInfo> latency_info;
+ array<uint32> satisfies_sequences;
+ array<SurfaceId> referenced_surfaces;
+};
« 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