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

Unified Diff: ui/events/ozone/evdev/event_factory_evdev.cc

Issue 2019413002: Remove KeyboardDevice class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: ui/events/ozone/evdev/event_factory_evdev.cc
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc
index 221cd22130ea8ad82e702d79674f4e7e3be33576..b58cb827ca298a39b53ae9505a9a057b4e90d811 100644
--- a/ui/events/ozone/evdev/event_factory_evdev.cc
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc
@@ -85,7 +85,7 @@ class ProxyDeviceEventDispatcher : public DeviceEventDispatcherEvdev {
}
void DispatchKeyboardDevicesUpdated(
- const std::vector<KeyboardDevice>& devices) override {
+ const std::vector<InputDevice>& devices) override {
ui_thread_runner_->PostTask(
FROM_HERE,
base::Bind(&EventFactoryEvdev::DispatchKeyboardDevicesUpdated,
@@ -319,7 +319,7 @@ void EventFactoryEvdev::DispatchUiEvent(Event* event) {
}
void EventFactoryEvdev::DispatchKeyboardDevicesUpdated(
- const std::vector<KeyboardDevice>& devices) {
+ const std::vector<InputDevice>& devices) {
TRACE_EVENT0("evdev", "EventFactoryEvdev::DispatchKeyboardDevicesUpdated");
DeviceHotplugEventObserver* observer = DeviceDataManager::GetInstance();
observer->OnKeyboardDevicesUpdated(devices);

Powered by Google App Engine
This is Rietveld 408576698