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

Unified Diff: ui/display/mojo/display_snapshot_mojo.mojom

Issue 2646213002: Write mojom and StructTraits for DisplaySnapshot. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 | « ui/display/mojo/display_mode_struct_traits.cc ('k') | ui/display/mojo/display_snapshot_mojo.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/mojo/display_snapshot_mojo.mojom
diff --git a/ui/display/mojo/display_snapshot_mojo.mojom b/ui/display/mojo/display_snapshot_mojo.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..8b7ce1c507537b50648732164327b8e7ca3ba3e3
--- /dev/null
+++ b/ui/display/mojo/display_snapshot_mojo.mojom
@@ -0,0 +1,31 @@
+// Copyright 2017 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 display.mojom;
+
+import "mojo/common/file_path.mojom";
+import "ui/display/mojo/display_constants.mojom";
+import "ui/display/mojo/display_mode.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Corresponds to display::DisplaySnapshotMojo.
+struct DisplaySnapshotMojo {
+ int64 display_id;
+ gfx.mojom.Point origin;
+ gfx.mojom.Size physical_size;
+ display.mojom.DisplayConnectionType type;
+ bool is_aspect_preserving_scaling;
+ bool has_overscan;
+ bool has_color_correction_matrix;
+ string display_name;
+ mojo.common.mojom.FilePath sys_path;
+ array<display.mojom.DisplayMode> modes;
+ array<uint8> edid;
+ uint64 current_mode_index;
+ bool has_current_mode;
+ uint64 native_mode_index;
+ bool has_native_mode;
+ int64 product_id;
+ gfx.mojom.Size maximum_cursor_size;
+};
« no previous file with comments | « ui/display/mojo/display_mode_struct_traits.cc ('k') | ui/display/mojo/display_snapshot_mojo.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698