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

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

Issue 893753002: Dump touchpad event logs for touch log source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased codes. However, seems to have some problems. Created 5 years, 11 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/input_controller_evdev.cc
diff --git a/ui/events/ozone/evdev/input_controller_evdev.cc b/ui/events/ozone/evdev/input_controller_evdev.cc
index 15fced21d9f6766eb7f5cc85748ae029942a752e..ba504c166043b471c587d4d6f616c34fa57b258b 100644
--- a/ui/events/ozone/evdev/input_controller_evdev.cc
+++ b/ui/events/ozone/evdev/input_controller_evdev.cc
@@ -147,4 +147,13 @@ void InputControllerEvdev::GetTouchDeviceStatus(
reply.Run(make_scoped_ptr(new std::string));
}
+void InputControllerEvdev::GetTouchEventLog(
+ const base::FilePath& out_dir,
+ const GetTouchEventLogReply& reply) {
+ if (input_device_factory_)
+ input_device_factory_->GetTouchEventLog(out_dir, reply);
+ else
+ reply.Run(make_scoped_ptr(new std::vector<base::FilePath>));
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698