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

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

Issue 893753002: Dump touchpad event logs for touch log source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored the code per previous comments. 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/ozone/public/input_controller.cc
diff --git a/ui/ozone/public/input_controller.cc b/ui/ozone/public/input_controller.cc
index c3026909dccc573742dda6602ef82144f4453b0e..30bb45955a27c2f4e73c5ae677a8ed9a6137aae8 100644
--- a/ui/ozone/public/input_controller.cc
+++ b/ui/ozone/public/input_controller.cc
@@ -37,6 +37,8 @@ class StubInputController : public InputController {
void SetPrimaryButtonRight(bool right) override;
void SetTapToClickPaused(bool state) override;
void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override;
+ void GetTouchEventLog(const base::FilePath& out_dir,
+ const GetTouchEventLogReply& reply) override;
void DisableInternalTouchpad() override;
void EnableInternalTouchpad() override;
void DisableInternalKeyboardExceptKeys(
@@ -130,6 +132,12 @@ void StubInputController::GetTouchDeviceStatus(
reply.Run(scoped_ptr<std::string>(new std::string));
}
+void StubInputController::GetTouchEventLog(const base::FilePath& out_dir,
+ const GetTouchEventLogReply& reply) {
+ reply.Run(
+ scoped_ptr<std::vector<base::FilePath>>(new std::vector<base::FilePath>));
+}
+
void StubInputController::DisableInternalTouchpad() {
NOTIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698