| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
| 6 #define UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController { | 26 class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController { |
| 27 public: | 27 public: |
| 28 InputControllerEvdev(EventFactoryEvdev* event_factory, | 28 InputControllerEvdev(EventFactoryEvdev* event_factory, |
| 29 KeyboardEvdev* keyboard, | 29 KeyboardEvdev* keyboard, |
| 30 MouseButtonMapEvdev* button_map | 30 MouseButtonMapEvdev* button_map |
| 31 #if defined(USE_EVDEV_GESTURES) | 31 #if defined(USE_EVDEV_GESTURES) |
| 32 , | 32 , |
| 33 GesturePropertyProvider* gesture_property_provider | 33 GesturePropertyProvider* gesture_property_provider |
| 34 #endif | 34 #endif |
| 35 ); | 35 ); |
| 36 virtual ~InputControllerEvdev(); | 36 ~InputControllerEvdev() override; |
| 37 | 37 |
| 38 // InputController: | 38 // InputController: |
| 39 bool HasMouse() override; | 39 bool HasMouse() override; |
| 40 bool HasTouchpad() override; | 40 bool HasTouchpad() override; |
| 41 bool IsCapsLockEnabled() override; | 41 bool IsCapsLockEnabled() override; |
| 42 void SetCapsLockEnabled(bool enabled) override; | 42 void SetCapsLockEnabled(bool enabled) override; |
| 43 void SetNumLockEnabled(bool enabled) override; | 43 void SetNumLockEnabled(bool enabled) override; |
| 44 bool IsAutoRepeatEnabled() override; | 44 bool IsAutoRepeatEnabled() override; |
| 45 void SetAutoRepeatEnabled(bool enabled) override; | 45 void SetAutoRepeatEnabled(bool enabled) override; |
| 46 void SetAutoRepeatRate(const base::TimeDelta& delay, | 46 void SetAutoRepeatRate(const base::TimeDelta& delay, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // Gesture library property provider. | 78 // Gesture library property provider. |
| 79 GesturePropertyProvider* gesture_property_provider_; | 79 GesturePropertyProvider* gesture_property_provider_; |
| 80 #endif | 80 #endif |
| 81 | 81 |
| 82 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 82 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace ui | 85 } // namespace ui |
| 86 | 86 |
| 87 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 87 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
| OLD | NEW |