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

Unified Diff: ui/events/mojo/event_struct_traits.h

Issue 2253293002: Mojo C++ bindings: change the first template parameter of StructTraits and UnionTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@91_extra
Patch Set: rebase Created 4 years, 4 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/events/mojo/OWNERS ('k') | ui/events/mojo/event_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/mojo/event_struct_traits.h
diff --git a/ui/events/mojo/event_struct_traits.h b/ui/events/mojo/event_struct_traits.h
index d7b9e1c6c73b1fbf3c02ac3e0db5c53b4b150b4c..459f240f85ba3e61e15ab5a4da630acf0245b826 100644
--- a/ui/events/mojo/event_struct_traits.h
+++ b/ui/events/mojo/event_struct_traits.h
@@ -16,7 +16,7 @@ namespace mojo {
using EventUniquePtr = std::unique_ptr<ui::Event>;
template <>
-struct StructTraits<ui::mojom::Event, EventUniquePtr> {
+struct StructTraits<ui::mojom::EventDataView, EventUniquePtr> {
static ui::mojom::EventType action(const EventUniquePtr& event);
static int32_t flags(const EventUniquePtr& event);
static int64_t time_stamp(const EventUniquePtr& event);
« no previous file with comments | « ui/events/mojo/OWNERS ('k') | ui/events/mojo/event_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698