| Index: ui/events/ozone/evdev/event_factory_evdev.h
|
| diff --git a/ui/events/ozone/evdev/event_factory_evdev.h b/ui/events/ozone/evdev/event_factory_evdev.h
|
| index e1960029030757b57878651522647282f0c2e42c..c8b27d041c803d23ddbc5de6a717f0eb47c1707b 100644
|
| --- a/ui/events/ozone/evdev/event_factory_evdev.h
|
| +++ b/ui/events/ozone/evdev/event_factory_evdev.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_
|
| #define UI_EVENTS_OZONE_EVDEV_EVENT_FACTORY_EVDEV_H_
|
|
|
| +#include <set>
|
| #include <vector>
|
|
|
| #include "base/callback.h"
|
| @@ -12,6 +13,7 @@
|
| #include "base/files/file_path.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/task_runner.h"
|
| +#include "ui/events/keycodes/keyboard_codes.h"
|
| #include "ui/events/ozone/device/device_event_observer.h"
|
| #include "ui/events/ozone/evdev/event_converter_evdev.h"
|
| #include "ui/events/ozone/evdev/event_device_info.h"
|
| @@ -58,6 +60,19 @@ class EVENTS_OZONE_EVDEV_EXPORT EventFactoryEvdev : public DeviceEventObserver,
|
| void WarpCursorTo(gfx::AcceleratedWidget widget,
|
| const gfx::PointF& location);
|
|
|
| + // Disables the internal touchpad.
|
| + void DisableInternalTouchpad();
|
| +
|
| + // Enables the internal touchpad.
|
| + void EnableInternalTouchpad();
|
| +
|
| + // Disables all keys on the internal keyboard except |excepted_keys|.
|
| + void DisableInternalKeyboardExceptKeys(
|
| + scoped_ptr<std::set<KeyboardCode>> excepted_keys);
|
| +
|
| + // Enables all keys on the internal keyboard.
|
| + void EnableInternalKeyboard();
|
| +
|
| scoped_ptr<SystemInputInjector> CreateSystemInputInjector();
|
|
|
| InputController* input_controller() { return &input_controller_; }
|
|
|