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

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

Issue 971753006: ozone: evdev: Sync caps lock LED state to evdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/PLOG/LOG/ for short write. errno is not set in this case Created 5 years, 9 months 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_DEVICE_FACTORY_PROXY_EVDEV_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ 6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 // See InputDeviceFactoryEvdev for docs. These calls simply forward to 39 // See InputDeviceFactoryEvdev for docs. These calls simply forward to
40 // that object on another thread. 40 // that object on another thread.
41 void AddInputDevice(int id, const base::FilePath& path); 41 void AddInputDevice(int id, const base::FilePath& path);
42 void RemoveInputDevice(const base::FilePath& path); 42 void RemoveInputDevice(const base::FilePath& path);
43 void DisableInternalTouchpad(); 43 void DisableInternalTouchpad();
44 void EnableInternalTouchpad(); 44 void EnableInternalTouchpad();
45 void DisableInternalKeyboardExceptKeys( 45 void DisableInternalKeyboardExceptKeys(
46 scoped_ptr<std::set<DomCode>> excepted_keys); 46 scoped_ptr<std::set<DomCode>> excepted_keys);
47 void EnableInternalKeyboard(); 47 void EnableInternalKeyboard();
48 void SetCapsLockLed(bool enabled);
48 void UpdateInputDeviceSettings(const InputDeviceSettingsEvdev& settings); 49 void UpdateInputDeviceSettings(const InputDeviceSettingsEvdev& settings);
49 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply); 50 void GetTouchDeviceStatus(const GetTouchDeviceStatusReply& reply);
50 void GetTouchEventLog(const base::FilePath& out_dir, 51 void GetTouchEventLog(const base::FilePath& out_dir,
51 const GetTouchEventLogReply& reply); 52 const GetTouchEventLogReply& reply);
52 53
53 private: 54 private:
54 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 55 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
55 base::WeakPtr<InputDeviceFactoryEvdev> input_device_factory_; 56 base::WeakPtr<InputDeviceFactoryEvdev> input_device_factory_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdevProxy); 58 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdevProxy);
58 }; 59 };
59 60
60 } // namespace ui 61 } // namespace ui
61 62
62 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ 63 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev.cc ('k') | ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698