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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void GetAutoRepeatRate(base::TimeDelta* delay, | 48 void GetAutoRepeatRate(base::TimeDelta* delay, |
49 base::TimeDelta* interval) override; | 49 base::TimeDelta* interval) override; |
50 void SetTouchpadSensitivity(int value) override; | 50 void SetTouchpadSensitivity(int value) override; |
51 void SetTapToClick(bool enabled) override; | 51 void SetTapToClick(bool enabled) override; |
52 void SetThreeFingerClick(bool enabled) override; | 52 void SetThreeFingerClick(bool enabled) override; |
53 void SetTapDragging(bool enabled) override; | 53 void SetTapDragging(bool enabled) override; |
54 void SetNaturalScroll(bool enabled) override; | 54 void SetNaturalScroll(bool enabled) override; |
55 void SetMouseSensitivity(int value) override; | 55 void SetMouseSensitivity(int value) override; |
56 void SetPrimaryButtonRight(bool right) override; | 56 void SetPrimaryButtonRight(bool right) override; |
57 void SetTapToClickPaused(bool state) override; | 57 void SetTapToClickPaused(bool state) override; |
| 58 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; |
58 void DisableInternalTouchpad() override; | 59 void DisableInternalTouchpad() override; |
59 void EnableInternalTouchpad() override; | 60 void EnableInternalTouchpad() override; |
60 void DisableInternalKeyboardExceptKeys( | 61 void DisableInternalKeyboardExceptKeys( |
61 scoped_ptr<std::set<DomCode>> excepted_keys) override; | 62 scoped_ptr<std::set<DomCode>> excepted_keys) override; |
62 void EnableInternalKeyboard() override; | 63 void EnableInternalKeyboard() override; |
63 | 64 |
64 private: | 65 private: |
65 // Set a property value for all devices of one type. | 66 // Set a property value for all devices of one type. |
66 void SetIntPropertyForOneType(const EventDeviceType type, | 67 void SetIntPropertyForOneType(const EventDeviceType type, |
67 const std::string& name, | 68 const std::string& name, |
(...skipping 15 matching lines...) Expand all Loading... |
83 // Gesture library property provider. | 84 // Gesture library property provider. |
84 GesturePropertyProvider* gesture_property_provider_; | 85 GesturePropertyProvider* gesture_property_provider_; |
85 #endif | 86 #endif |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 88 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace ui | 91 } // namespace ui |
91 | 92 |
92 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 93 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
OLD | NEW |