| Index: ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.h b/ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| index 76e867472a7bfd7ecf66c0fcd62c81116c51775f..b1277f53f2e41c8c48e82f0c625e35cd25ed8aaa 100644
|
| --- a/ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| +++ b/ui/events/ozone/evdev/event_converter_evdev_impl.h
|
| @@ -44,14 +44,18 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
|
| bool HasCapsLockLed() const override;
|
| void SetAllowedKeys(scoped_ptr<std::set<DomCode>> allowed_keys) override;
|
| void AllowAllKeys() override;
|
| + void OnStopped() override;
|
|
|
| void ProcessEvents(const struct input_event* inputs, int count);
|
|
|
| private:
|
| void ConvertKeyEvent(const input_event& input);
|
| -
|
| void ConvertMouseMoveEvent(const input_event& input);
|
| -
|
| + void OnKeyChange(unsigned int key,
|
| + bool down,
|
| + const base::TimeDelta& timestamp);
|
| + void ReleaseKeys();
|
| + void OnLostSync();
|
| void DispatchMouseButton(const input_event& input);
|
|
|
| // Flush events delimited by EV_SYN. This is useful for handling
|
| @@ -78,6 +82,9 @@ class EVENTS_OZONE_EVDEV_EXPORT EventConverterEvdevImpl
|
| // processed.
|
| scoped_ptr<std::set<DomCode>> allowed_keys_;
|
|
|
| + // Pressed keys bitset.
|
| + std::bitset<KEY_CNT> key_state_;
|
| +
|
| // Shared cursor state.
|
| CursorDelegateEvdev* cursor_;
|
|
|
|
|