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

Unified Diff: ui/display/mojo/display.typemap

Issue 2123613002: Add a mojom/StructTrait for display::Display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments. Created 4 years, 5 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.typemap
diff --git a/ui/display/mojo/display.typemap b/ui/display/mojo/display.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..69a12e792730ed2f9896d1e2b38f20003c03b738
--- /dev/null
+++ b/ui/display/mojo/display.typemap
@@ -0,0 +1,22 @@
+# Copyright 2016 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.
+
+mojom = "//ui/display/mojo/display.mojom"
+public_headers = [ "//ui/display/display.h" ]
+traits_headers = [ "//ui/display/mojo/display_struct_traits.h" ]
+sources = [
+ "//ui/display/mojo/display_struct_traits.cc",
+]
+public_deps = [
+ "//ui/display",
+]
+deps = [
+ "//ui/gfx/geometry",
+]
+
+type_mappings = [
+ "display.mojom.Display=display::Display",
+ "display.mojom.DisplayRotation=display::Display::Rotation",
+ "display.mojom.TouchSupport=display::Display::TouchSupport",
+]

Powered by Google App Engine
This is Rietveld 408576698