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

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

Issue 2636073002: Create mojom and StructTraits for ui/display/types/display_mode.cc (Closed)
Patch Set: undo deletion of includes 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/ozone/common/mojo/display_mode_params.mojom
diff --git a/ui/ozone/common/mojo/display_mode_params.mojom b/ui/ozone/common/mojo/display_mode_params.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e23536dfd7beaf9a7fbeefc78eafcab9142b78fe
--- /dev/null
+++ b/ui/ozone/common/mojo/display_mode_params.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 ui.mojom;
+
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Corresponds to ui::DisplayMode_Params
+struct DisplayModeParams {
+ gfx.mojom.Size size;
+ bool is_interlaced;
+ float refresh_rate;
+};

Powered by Google App Engine
This is Rietveld 408576698