| Index: ui/ozone/public/input_controller.h
|
| diff --git a/ui/ozone/public/input_controller.h b/ui/ozone/public/input_controller.h
|
| index 3ba1c7ccd96b9f2a11640a82d757cd91b81f20c8..4cb04fd95cc3d47deefc8a2a637b6199f5b6e95e 100644
|
| --- a/ui/ozone/public/input_controller.h
|
| +++ b/ui/ozone/public/input_controller.h
|
| @@ -5,6 +5,8 @@
|
| #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/ozone/ozone_export.h"
|
| @@ -15,6 +17,8 @@ class TimeDelta;
|
|
|
| namespace ui {
|
|
|
| +enum class DomCode;
|
| +
|
| // Platform-specific interface for controlling input devices.
|
| //
|
| // The object provides methods for the preference page to configure input
|
| @@ -55,6 +59,19 @@ class OZONE_EXPORT InputController {
|
| // experience in some use cases (e.g., typing, watching video).
|
| virtual void SetTapToClickPaused(bool state) = 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<DomCode>> excepted_keys) = 0;
|
| +
|
| + // Enables all keys on the internal keyboard.
|
| + virtual void EnableInternalKeyboard() = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(InputController);
|
| };
|
|
|