Index: ui/ozone/public/input_controller.h |
diff --git a/ui/ozone/public/input_controller.h b/ui/ozone/public/input_controller.h |
index ee33560fc57d08a664c53a858795d9432d91750b..06ab02f6b46fdac84a7b5a65d8cb724017acff3e 100644 |
--- a/ui/ozone/public/input_controller.h |
+++ b/ui/ozone/public/input_controller.h |
@@ -5,8 +5,11 @@ |
#ifndef UI_OZONE_PUBLIC_INPUT_CONTROLLER_H_ |
#define UI_OZONE_PUBLIC_INPUT_CONTROLLER_H_ |
+#include <set> |
+ |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
+#include "ui/events/keycodes/keyboard_codes.h" |
#include "ui/ozone/ozone_export.h" |
namespace ui { |
@@ -25,6 +28,19 @@ class OZONE_EXPORT InputController { |
virtual bool HasMouse() = 0; |
virtual bool HasTouchpad() = 0; |
+ // Disables the internal touchpad. |
+ virtual void DisableInternalTouchpad() = 0; |
+ |
+ // Enables the internal touchpad. |
+ virtual void EnableInternalTouchpad() = 0; |
+ |
+ // Disables all keys on the internal keyboard except |excepted_keys|. |
+ virtual void DisableInternalKeyboardExceptKeys( |
+ scoped_ptr<std::set<KeyboardCode>> excepted_keys) = 0; |
+ |
+ // Enables all keys on the internal keyboard. |
+ virtual void EnableInternalKeyboard() = 0; |
+ |
// Functions for changing device settings. |
// |
// See c/b/c/system/input_device_settings.h for more context. |