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

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 4e1e6a31319c48959a6263db22bf8ed2afcf8361..35c84f4f066780d10598c2b6432de96aea76a88a 100644
--- a/ui/ozone/public/input_controller.cc
+++ b/ui/ozone/public/input_controller.cc
@@ -36,6 +36,11 @@ class StubInputController : public InputController {
void SetMouseSensitivity(int value) override;
void SetPrimaryButtonRight(bool right) override;
void SetTapToClickPaused(bool state) override;
+ void DisableInternalTouchpad() override;
+ void EnableInternalTouchpad() override;
+ void DisableInternalKeyboardExceptKeys(
+ scoped_ptr<std::set<DomCode>> excepted_keys) override;
+ void EnableInternalKeyboard() override;
private:
DISALLOW_COPY_AND_ASSIGN(StubInputController);
@@ -119,6 +124,23 @@ void StubInputController::SetTapToClickPaused(bool state) {
NOTIMPLEMENTED();
}
+void StubInputController::DisableInternalTouchpad() {
+ NOTIMPLEMENTED();
+}
+
+void StubInputController::EnableInternalTouchpad() {
+ NOTIMPLEMENTED();
+}
+
+void StubInputController::DisableInternalKeyboardExceptKeys(
+ scoped_ptr<std::set<DomCode>> excepted_keys) {
+ NOTIMPLEMENTED();
+}
+
+void StubInputController::EnableInternalKeyboard() {
+ NOTIMPLEMENTED();
+}
+
} // namespace
scoped_ptr<InputController> CreateStubInputController() {
« ui/events/ozone/evdev/event_converter_evdev_impl.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