Index: mojo/converters/input_events/input_events_type_converters.h |
diff --git a/mojo/converters/input_events/input_events_type_converters.h b/mojo/converters/input_events/input_events_type_converters.h |
index 9a717829137adacf6c80951179f05c5f1cf61681..f59f9d3c317ea6dd284e6ad152ca8539cda78957 100644 |
--- a/mojo/converters/input_events/input_events_type_converters.h |
+++ b/mojo/converters/input_events/input_events_type_converters.h |
@@ -12,17 +12,14 @@ |
namespace mojo { |
+// NOTE: the mojo input events do not necessarily provide a 1-1 mapping with |
+// ui::Event types. Be careful in using them! |
template <> |
struct MOJO_INPUT_EVENTS_EXPORT TypeConverter<EventType, ui::EventType> { |
static EventType Convert(ui::EventType type); |
}; |
template <> |
-struct MOJO_INPUT_EVENTS_EXPORT TypeConverter<ui::EventType, EventType> { |
- static ui::EventType Convert(EventType type); |
-}; |
- |
-template <> |
struct MOJO_INPUT_EVENTS_EXPORT TypeConverter<EventPtr, ui::Event> { |
static EventPtr Convert(const ui::Event& input); |
}; |