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

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

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: Dont need to make changes in ui/ozone/common/BUILD.gn. 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
Index: ui/display/mojo/display_mode_mojo.mojom
diff --git a/ui/display/mojo/display_mode_mojo.mojom b/ui/display/mojo/display_mode_mojo.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..87e5e614e1de41ab7be3d3531c1f2a1c488151b6
--- /dev/null
+++ b/ui/display/mojo/display_mode_mojo.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::DisplayModeMojo
+struct DisplayModeMojo {
+ gfx.mojom.Size size;
+ bool is_interlaced;
+ float refresh_rate;
+};

Powered by Google App Engine
This is Rietveld 408576698