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

Unified Diff: ui/ozone/common/mojo/display_mode_proxy.mojom

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: convert mojo type to ui::DisplayMode_Params instead. 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/ozone/common/mojo/display_mode_proxy.mojom
diff --git a/ui/ozone/common/mojo/display_mode_proxy.mojom b/ui/ozone/common/mojo/display_mode_proxy.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..5ac85de7cfa28d4071eebc007bdbe13c015bcf97
--- /dev/null
+++ b/ui/ozone/common/mojo/display_mode_proxy.mojom
@@ -0,0 +1,10 @@
+module ui.mojom;
kylechar 2017/01/17 17:19:26 You are missing a copyright string.
thanhph1 2017/01/17 20:19:05 Done.
+
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Corresponds to ui::DisplayMode_Params
+struct DisplayModeProxy {
kylechar 2017/01/17 17:19:26 This struct should be named DisplayModeParams. Als
thanhph1 2017/01/17 20:19:05 Done, I also renamed related files/ dependencies.
+ gfx.mojom.Size size;
+ bool is_interlaced;
+ float refresh_rate;
+};

Powered by Google App Engine
This is Rietveld 408576698