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

Unified Diff: ui/base/accelerators/mojo/accelerator.typemap

Issue 2749183005: Adds mojom structure for ui::Accelerator and struct traits (Closed)
Patch Set: feedback Created 3 years, 9 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/base/accelerators/mojo/accelerator.mojom ('k') | ui/base/accelerators/mojo/accelerator_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/accelerators/mojo/accelerator.typemap
diff --git a/ui/base/accelerators/mojo/accelerator.typemap b/ui/base/accelerators/mojo/accelerator.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..1688f581469d02cff48a283ad0aee4527681e528
--- /dev/null
+++ b/ui/base/accelerators/mojo/accelerator.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/base/accelerators/mojo/accelerator.mojom"
+public_headers = [ "//ui/base/accelerators/accelerator.h" ]
+traits_headers = [ "//ui/base/accelerators/mojo/accelerator_struct_traits.h" ]
+deps = [
+ "//ui/base/accelerators/mojo:struct_traits",
+]
+type_mappings = [
+ "ui.mojom.Accelerator=ui::Accelerator",
+ "ui.mojom.AcceleratorKeyState=ui::Accelerator::KeyState",
+]
« no previous file with comments | « ui/base/accelerators/mojo/accelerator.mojom ('k') | ui/base/accelerators/mojo/accelerator_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698