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

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

Issue 1412623006: Developer Feature: Add Debug Accelerators to Toggle Touchscreen/Touchpad On or Off (CrOS) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error 2 Created 5 years, 1 month 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 df9a7ba1d812668dc3e0c3c2f033f8996fad56ba..5e48acf7cc092e78e37036b4e0fe1ea993e59c2d 100644
--- a/ui/ozone/public/input_controller.cc
+++ b/ui/ozone/public/input_controller.cc
@@ -42,6 +42,7 @@ class StubInputController : public InputController {
void GetTouchEventLog(const base::FilePath& out_dir,
const GetTouchEventLogReply& reply) override;
void SetInternalTouchpadEnabled(bool enabled) override;
+ bool IsInternalTouchpadEnabled() const override;
void SetInternalKeyboardFilter(bool enable_filter,
std::vector<DomCode> allowed_keys) override;
@@ -134,6 +135,10 @@ void StubInputController::GetTouchEventLog(const base::FilePath& out_dir,
void StubInputController::SetInternalTouchpadEnabled(bool enabled) {
}
+bool StubInputController::IsInternalTouchpadEnabled() const {
+ return false;
+}
+
void StubInputController::SetInternalKeyboardFilter(
bool enable_filter,
std::vector<DomCode> allowed_keys) {

Powered by Google App Engine
This is Rietveld 408576698