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

Unified Diff: ui/events/ozone/evdev/input_device_factory_evdev.h

Issue 893753002: Dump touchpad event logs for touch log source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change functions to Chromium counterparts and cleanup stuff Created 5 years, 10 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_device_factory_evdev.h
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.h b/ui/events/ozone/evdev/input_device_factory_evdev.h
index 5136a2141fffcc00d300181bf2ac6e4055bb18ae..546830fd21b952a5038cca8286b3b190ae10fec6 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev.h
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.h
@@ -33,6 +33,8 @@ class GesturePropertyProvider;
#endif
typedef base::Callback<void(scoped_ptr<std::string>)> GetTouchDeviceStatusReply;
+typedef base::Callback<void(scoped_ptr<std::vector<base::FilePath>>)>
+ GetTouchEventLogReply;
// Manager for event device objects. All device I/O starts here.
class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
@@ -69,6 +71,8 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
void SetMouseSensitivity(int value);
void SetTapToClickPaused(bool state);
void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply);
+ void GetTouchEventLog(const base::FilePath& out_dir,
+ const GetTouchEventLogReply& reply);
base::WeakPtr<InputDeviceFactoryEvdev> GetWeakPtr();

Powered by Google App Engine
This is Rietveld 408576698