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

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

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/display_mode.mojom ('k') | ui/display/mojo/display_mode_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/mojo/display_mode.typemap
diff --git a/ui/display/mojo/display_mode.typemap b/ui/display/mojo/display_mode.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..c37f44507d54d37ffb6e925203c7ab25fecbd307
--- /dev/null
+++ b/ui/display/mojo/display_mode.typemap
@@ -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.
+
+mojom = "//ui/display/mojo/display_mode.mojom"
+public_headers = [ "//ui/display/types/display_mode.h" ]
+traits_headers = [ "//ui/display/mojo/display_mode_struct_traits.h" ]
+public_deps = [
+ "//ui/display",
+]
+deps = [
+ "//ui/gfx/geometry",
+]
+type_mappings = [ "display.mojom.DisplayMode=std::unique_ptr<display::DisplayMode>[move_only]" ]
« no previous file with comments | « ui/display/mojo/display_mode.mojom ('k') | ui/display/mojo/display_mode_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698