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

Unified Diff: ui/events/event.cc

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
Index: ui/events/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index 894d5b0f2aded44d4880e4ce2d25b043c4d4477e..6ab9a85f75edb7496bdc2e17d59fddeb2f23fb2f 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -77,6 +77,7 @@ std::string EventTypeName(ui::EventType type) {
CASE_TYPE(ET_SCROLL_FLING_CANCEL);
CASE_TYPE(ET_CANCEL_MODE);
CASE_TYPE(ET_UMA_DATA);
+ CASE_TYPE(ET_X_RAW_EVENT);
spang 2014/11/24 18:56:54 This is essentially just native_event() spelled di
achaulk 2014/11/24 19:28:39 Yes, but there are some messages that need to be p
case ui::ET_LAST: NOTREACHED(); return std::string();
// Don't include default, so that we get an error when new type is added.
}
@@ -976,4 +977,12 @@ GestureEvent::GestureEvent(float x,
GestureEvent::~GestureEvent() {
}
+CustomEvent::CustomEvent(EventType type,
+ base::TimeDelta time_stamp,
+ void* generic_event_data)
+ : Event(type, time_stamp, 0), generic_event_data_(generic_event_data) {
+}
+CustomEvent::~CustomEvent() {
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698