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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 void SetThreeFingerClick(bool enabled) override; | 55 void SetThreeFingerClick(bool enabled) override; |
56 void SetTapDragging(bool enabled) override; | 56 void SetTapDragging(bool enabled) override; |
57 void SetNaturalScroll(bool enabled) override; | 57 void SetNaturalScroll(bool enabled) override; |
58 void SetMouseSensitivity(int value) override; | 58 void SetMouseSensitivity(int value) override; |
59 void SetPrimaryButtonRight(bool right) override; | 59 void SetPrimaryButtonRight(bool right) override; |
60 void SetTapToClickPaused(bool state) override; | 60 void SetTapToClickPaused(bool state) override; |
61 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; | 61 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; |
62 void GetTouchEventLog(const base::FilePath& out_dir, | 62 void GetTouchEventLog(const base::FilePath& out_dir, |
63 const GetTouchEventLogReply& reply) override; | 63 const GetTouchEventLogReply& reply) override; |
64 void SetInternalTouchpadEnabled(bool enabled) override; | 64 void SetInternalTouchpadEnabled(bool enabled) override; |
65 bool IsInternalTouchpadEnabled() const override; | |
66 void SetTouchscreenEnabled(bool enabled) override; | |
spang
2015/11/04 20:16:27
I think it should be plural: SetTouchscreenEnabled
spang
2015/11/04 20:16:58
Oops: SetTouchscreensEnabled()
afakhry
2015/11/05 01:22:11
Done.
| |
65 void SetInternalKeyboardFilter(bool enable_filter, | 67 void SetInternalKeyboardFilter(bool enable_filter, |
66 std::vector<DomCode> allowed_keys) override; | 68 std::vector<DomCode> allowed_keys) override; |
67 | 69 |
68 private: | 70 private: |
69 // Post task to update settings. | 71 // Post task to update settings. |
70 void ScheduleUpdateDeviceSettings(); | 72 void ScheduleUpdateDeviceSettings(); |
71 | 73 |
72 // Send settings update to input_device_factory_. | 74 // Send settings update to input_device_factory_. |
73 void UpdateDeviceSettings(); | 75 void UpdateDeviceSettings(); |
74 | 76 |
(...skipping 23 matching lines...) Expand all Loading... | |
98 bool caps_lock_led_state_ = false; | 100 bool caps_lock_led_state_ = false; |
99 | 101 |
100 base::WeakPtrFactory<InputControllerEvdev> weak_ptr_factory_; | 102 base::WeakPtrFactory<InputControllerEvdev> weak_ptr_factory_; |
101 | 103 |
102 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 104 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
103 }; | 105 }; |
104 | 106 |
105 } // namespace ui | 107 } // namespace ui |
106 | 108 |
107 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 109 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
OLD | NEW |