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

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

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: remove expect_true in void function Created 3 years, 11 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/BUILD.gn ('k') | ui/display/mojo/display_mode.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/mojo/display_mode.mojom
diff --git a/ui/display/mojo/display_mode.mojom b/ui/display/mojo/display_mode.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..892521ca79b0227b6dade31f99f88b26cb4e2a45
--- /dev/null
+++ b/ui/display/mojo/display_mode.mojom
@@ -0,0 +1,14 @@
+// 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 "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Corresponds to display::DisplayMode
+struct DisplayMode {
+ gfx.mojom.Size size;
+ bool is_interlaced;
+ float refresh_rate;
+};
« no previous file with comments | « ui/display/mojo/BUILD.gn ('k') | ui/display/mojo/display_mode.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698