| 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; | |
| 59 void DisableInternalTouchpad() override; | 58 void DisableInternalTouchpad() override; |
| 60 void EnableInternalTouchpad() override; | 59 void EnableInternalTouchpad() override; |
| 61 void DisableInternalKeyboardExceptKeys( | 60 void DisableInternalKeyboardExceptKeys( |
| 62 scoped_ptr<std::set<DomCode>> excepted_keys) override; | 61 scoped_ptr<std::set<DomCode>> excepted_keys) override; |
| 63 void EnableInternalKeyboard() override; | 62 void EnableInternalKeyboard() override; |
| 64 | 63 |
| 65 private: | 64 private: |
| 66 // Set a property value for all devices of one type. | 65 // Set a property value for all devices of one type. |
| 67 void SetIntPropertyForOneType(const EventDeviceType type, | 66 void SetIntPropertyForOneType(const EventDeviceType type, |
| 68 const std::string& name, | 67 const std::string& name, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 84 // Gesture library property provider. | 83 // Gesture library property provider. |
| 85 GesturePropertyProvider* gesture_property_provider_; | 84 GesturePropertyProvider* gesture_property_provider_; |
| 86 #endif | 85 #endif |
| 87 | 86 |
| 88 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); | 87 DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev); |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 } // namespace ui | 90 } // namespace ui |
| 92 | 91 |
| 93 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ | 92 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_CONTROLLER_EVDEV_H_ |
| OLD | NEW |