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 base::TimeDelta* interval) override; | 48 base::TimeDelta* interval) override; |
49 void SetTouchpadSensitivity(int value) override; | 49 void SetTouchpadSensitivity(int value) override; |
50 void SetTapToClick(bool enabled) override; | 50 void SetTapToClick(bool enabled) override; |
51 void SetThreeFingerClick(bool enabled) override; | 51 void SetThreeFingerClick(bool enabled) override; |
52 void SetTapDragging(bool enabled) override; | 52 void SetTapDragging(bool enabled) override; |
53 void SetNaturalScroll(bool enabled) override; | 53 void SetNaturalScroll(bool enabled) override; |
54 void SetMouseSensitivity(int value) override; | 54 void SetMouseSensitivity(int value) override; |
55 void SetPrimaryButtonRight(bool right) override; | 55 void SetPrimaryButtonRight(bool right) override; |
56 void SetTapToClickPaused(bool state) override; | 56 void SetTapToClickPaused(bool state) override; |
57 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; | 57 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; |
| 58 void GetTouchEventLog(const base::FilePath& out_dir, |
| 59 const GetTouchEventLogReply& reply) override; |
58 void DisableInternalTouchpad() override; | 60 void DisableInternalTouchpad() override; |
59 void EnableInternalTouchpad() override; | 61 void EnableInternalTouchpad() override; |
60 void DisableInternalKeyboardExceptKeys( | 62 void DisableInternalKeyboardExceptKeys( |
61 scoped_ptr<std::set<DomCode>> excepted_keys) override; | 63 scoped_ptr<std::set<DomCode>> excepted_keys) override; |
62 void EnableInternalKeyboard() override; | 64 void EnableInternalKeyboard() override; |
63 | 65 |
64 private: | 66 private: |
65 // Post task to update settings. | 67 // Post task to update settings. |
66 void ScheduleUpdateDeviceSettings(); | 68 void ScheduleUpdateDeviceSettings(); |
67 | 69 |
(...skipping 20 matching lines...) Expand all Loading... |
88 bool has_touchpad_; | 90 bool has_touchpad_; |
89 | 91 |
90 base::WeakPtrFactory<InputControllerEvdev> weak_ptr_factory_; | 92 base::WeakPtrFactory<InputControllerEvdev> weak_ptr_factory_; |
91 | 93 |
92 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 94 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
93 }; | 95 }; |
94 | 96 |
95 } // namespace ui | 97 } // namespace ui |
96 | 98 |
97 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 99 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
OLD | NEW |