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

Side by Side Diff: ui/events/mojo/event.typemap

Issue 1939133002: StructTraits to map mus::mojom::Event to unique_ptr<ui::Event> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 mojom = "//components/mus/public/interfaces/input_events.mojom"
6 public_headers = [ "//ui/events/event.h" ]
7 traits_headers = [ "//ui/events/mojo/event_struct_traits.h" ]
8 deps = [
9 "//ui/events:dom_keycode_converter",
10 "//ui//events",
11 ]
12 sources = [
13 "//ui/events/mojo/event_struct_traits.h",
14 "//ui/events/mojo/event_struct_traits.cc",
15 ]
16 # TODO(moshayedi): crbug.com/617167. Map mojom.Event directly to ui::Event.
17 type_mappings = [ "mus.mojom.Event=std::unique_ptr<ui::Event>(pass_by_value)" ]
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/chromium_bindings_configuration.gni ('k') | ui/events/mojo/event_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698