StructTraits to map mus::mojom::Event to unique_ptr<ui::Event>.
This CL defines StructTraits<mus::mojom::Event, unique_ptr<ui::Event>>. With
this mojo automatically uses unique_ptr<ui::Event> instead of mus::mojom::Event
when generating C++ header files for mojom interfaces, and events are
automatically serializied/deserialized and validated when sending/receiving over
mojo IPC.
BUG=578206
Review-Url: https://codereview.chromium.org/1939133002
Cr-Commit-Position: refs/heads/master@{#398107}
CrOS-Libchrome-Original-Commit: 73be633b0f9b71668ab204c22bd14742bd6c7ead
1 file changed