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

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: sadrul's comment 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..5aa5bebf043142b81bac4096a3627708df7d3d13 100644
--- a/ui/ozone/public/input_controller.cc
+++ b/ui/ozone/public/input_controller.cc
@@ -42,6 +42,8 @@ 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 SetTouchscreensEnabled(bool enabled) override;
void SetInternalKeyboardFilter(bool enable_filter,
std::vector<DomCode> allowed_keys) override;
@@ -134,6 +136,12 @@ void StubInputController::GetTouchEventLog(const base::FilePath& out_dir,
void StubInputController::SetInternalTouchpadEnabled(bool enabled) {
}
+bool StubInputController::IsInternalTouchpadEnabled() const {
+ return false;
+}
+
+void StubInputController::SetTouchscreensEnabled(bool enabled) {}
+
void StubInputController::SetInternalKeyboardFilter(
bool enable_filter,
std::vector<DomCode> allowed_keys) {

Powered by Google App Engine
This is Rietveld 408576698