| 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; |
| 65 void SetInternalKeyboardFilter(bool enable_filter, | 66 void SetInternalKeyboardFilter(bool enable_filter, |
| 66 std::vector<DomCode> allowed_keys) override; | 67 std::vector<DomCode> allowed_keys) override; |
| 67 | 68 |
| 68 private: | 69 private: |
| 69 // Post task to update settings. | 70 // Post task to update settings. |
| 70 void ScheduleUpdateDeviceSettings(); | 71 void ScheduleUpdateDeviceSettings(); |
| 71 | 72 |
| 72 // Send settings update to input_device_factory_. | 73 // Send settings update to input_device_factory_. |
| 73 void UpdateDeviceSettings(); | 74 void UpdateDeviceSettings(); |
| 74 | 75 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 98 bool caps_lock_led_state_ = false; | 99 bool caps_lock_led_state_ = false; |
| 99 | 100 |
| 100 base::WeakPtrFactory<InputControllerEvdev> weak_ptr_factory_; | 101 base::WeakPtrFactory<InputControllerEvdev> weak_ptr_factory_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 103 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace ui | 106 } // namespace ui |
| 106 | 107 |
| 107 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 108 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
| OLD | NEW |