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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 base::TimeDelta* interval) override; | 46 base::TimeDelta* interval) override; |
47 void SetTouchpadSensitivity(int value) override; | 47 void SetTouchpadSensitivity(int value) override; |
48 void SetTapToClick(bool enabled) override; | 48 void SetTapToClick(bool enabled) override; |
49 void SetThreeFingerClick(bool enabled) override; | 49 void SetThreeFingerClick(bool enabled) override; |
50 void SetTapDragging(bool enabled) override; | 50 void SetTapDragging(bool enabled) override; |
51 void SetNaturalScroll(bool enabled) override; | 51 void SetNaturalScroll(bool enabled) override; |
52 void SetMouseSensitivity(int value) override; | 52 void SetMouseSensitivity(int value) override; |
53 void SetPrimaryButtonRight(bool right) override; | 53 void SetPrimaryButtonRight(bool right) override; |
54 void SetTapToClickPaused(bool state) override; | 54 void SetTapToClickPaused(bool state) override; |
55 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; | 55 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply) override; |
| 56 void GetTouchEventLog(const base::FilePath& out_dir, |
| 57 const GetTouchEventLogReply& reply) override; |
56 void DisableInternalTouchpad() override; | 58 void DisableInternalTouchpad() override; |
57 void EnableInternalTouchpad() override; | 59 void EnableInternalTouchpad() override; |
58 void DisableInternalKeyboardExceptKeys( | 60 void DisableInternalKeyboardExceptKeys( |
59 scoped_ptr<std::set<DomCode>> excepted_keys) override; | 61 scoped_ptr<std::set<DomCode>> excepted_keys) override; |
60 void EnableInternalKeyboard() override; | 62 void EnableInternalKeyboard() override; |
61 | 63 |
62 private: | 64 private: |
63 // Factory for devices. Needed to update device config. | 65 // Factory for devices. Needed to update device config. |
64 InputDeviceFactoryEvdevProxy* input_device_factory_; | 66 InputDeviceFactoryEvdevProxy* input_device_factory_; |
65 | 67 |
66 // Keyboard state. | 68 // Keyboard state. |
67 KeyboardEvdev* keyboard_; | 69 KeyboardEvdev* keyboard_; |
68 | 70 |
69 // Mouse button map. | 71 // Mouse button map. |
70 MouseButtonMapEvdev* button_map_; | 72 MouseButtonMapEvdev* button_map_; |
71 | 73 |
72 // Device presence. | 74 // Device presence. |
73 bool has_mouse_; | 75 bool has_mouse_; |
74 bool has_touchpad_; | 76 bool has_touchpad_; |
75 | 77 |
76 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 78 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
77 }; | 79 }; |
78 | 80 |
79 } // namespace ui | 81 } // namespace ui |
80 | 82 |
81 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 83 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
OLD | NEW |