Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: ui/events/ozone/evdev/input_controller_evdev.h

Issue 1412623006: Developer Feature: Add Debug Accelerators to Toggle Touchscreen/Touchpad On or Off (CrOS) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sadrul's comment Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 SetTouchscreensEnabled(bool enabled) override;
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698