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

Unified Diff: ui/ozone/public/input_controller.h

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/ozone/public/input_controller.h
diff --git a/ui/ozone/public/input_controller.h b/ui/ozone/public/input_controller.h
index c0f601667fa8af7568addd363633a5408e962c2c..7a276eb596a1a13fa75cdfab3c0c7d6e906128ef 100644
--- a/ui/ozone/public/input_controller.h
+++ b/ui/ozone/public/input_controller.h
@@ -7,8 +7,10 @@
#include <set>
#include <string>
+#include <vector>
#include "base/callback.h"
+#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "ui/ozone/ozone_export.h"
@@ -30,6 +32,8 @@ class OZONE_EXPORT InputController {
public:
typedef base::Callback<void(scoped_ptr<std::string>)>
GetTouchDeviceStatusReply;
+ typedef base::Callback<void(scoped_ptr<std::vector<base::FilePath>>)>
+ GetTouchEventLogReply;
InputController() {}
virtual ~InputController() {}
@@ -62,6 +66,8 @@ class OZONE_EXPORT InputController {
// Touch log collection.
virtual void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) = 0;
+ virtual void GetTouchEventLog(const base::FilePath& out_dir,
+ const GetTouchEventLogReply& reply) = 0;
// Temporarily enable/disable Tap-to-click. Used to enhance the user
// experience in some use cases (e.g., typing, watching video).

Powered by Google App Engine
This is Rietveld 408576698