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

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

Issue 806693009: Port ScopedDisableInternalMouseAndKeyboardX11 to Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 da0cd6cd1b6019220cfbd6dd1ca8ec09f1e1da6a..1d4cc770ae87d71279e11d76973f0c799e3d3193 100644
--- a/ui/ozone/public/input_controller.cc
+++ b/ui/ozone/public/input_controller.cc
@@ -19,6 +19,11 @@ class StubInputController : public InputController {
// InputController:
bool HasMouse() override;
bool HasTouchpad() override;
+ void DisableInternalTouchpad() override;
+ void EnableInternalTouchpad() override;
+ void DisableInternalKeyboardExceptKeys(
+ scoped_ptr<std::set<KeyboardCode>> excepted_keys) override;
+ void EnableInternalKeyboard() override;
void SetTouchpadSensitivity(int value) override;
void SetTapToClick(bool enabled) override;
void SetThreeFingerClick(bool enabled) override;
@@ -47,6 +52,23 @@ bool StubInputController::HasTouchpad() {
return false;
}
+void StubInputController::DisableInternalTouchpad() {
+ NOTIMPLEMENTED();
+}
+
+void StubInputController::EnableInternalTouchpad() {
+ NOTIMPLEMENTED();
+}
+
+void StubInputController::DisableInternalKeyboardExceptKeys(
+ scoped_ptr<std::set<KeyboardCode>> excepted_keys) {
+ NOTIMPLEMENTED();
+}
+
+void StubInputController::EnableInternalKeyboard() {
+ NOTIMPLEMENTED();
+}
+
void StubInputController::SetTouchpadSensitivity(int value) {
NOTIMPLEMENTED();
}
« ui/events/ozone/evdev/keyboard_evdev.cc ('K') | « ui/ozone/public/input_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698