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

Unified Diff: ui/events/event.cc

Issue 1097393011: Revert of Ozone support for device special cases in keyboard event rewriting. (patchset #6 id:12000… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/devices/x11/touch_factory_x11.cc ('k') | ui/events/ozone/evdev/event_converter_evdev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index 4649e24db9f8722b8bad8d3a7aeeed8acaf9540d..1ca065943948cb6f53211c155ddb61ec9608abbe 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -246,10 +246,6 @@ Event::Event(const base::NativeEvent& native_event,
source_device_id_ = xiev->sourceid;
}
#endif
-#if defined(USE_OZONE)
- source_device_id_ =
- static_cast<const Event*>(native_event)->source_device_id();
-#endif
}
Event::Event(const Event& copy)
« no previous file with comments | « ui/events/devices/x11/touch_factory_x11.cc ('k') | ui/events/ozone/evdev/event_converter_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698