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

Unified Diff: ui/events/ozone/evdev/input_device_factory_evdev.h

Issue 868043003: [PATCH 8/11] ozone: evdev: Plumb device changes to EventFactoryEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates for events_unittests Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/input_device_factory_evdev.h
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.h b/ui/events/ozone/evdev/input_device_factory_evdev.h
index 0e9ab18d5ff43d00c3482cf03978cec9dfbf5556..bd53c611eb209dc63a8a0e7baa3c92b5edf424ec 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev.h
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.h
@@ -46,11 +46,6 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
// Stop reading & close an unplugged input device.
void RemoveInputDevice(const base::FilePath& path);
- // Get a list of device ids that matches a device type. Return true if the
- // list is not empty. |device_ids| can be NULL.
- bool GetDeviceIdsByType(const EventDeviceType type,
- std::vector<int>* device_ids);
-
// Disables the internal touchpad.
void DisableInternalTouchpad();
@@ -65,8 +60,6 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
void EnableInternalKeyboard();
// Bits from InputController that have to be answered on IO.
- bool HasMouse();
- bool HasTouchpad();
void SetTouchpadSensitivity(int value);
void SetTapToClick(bool enabled);
void SetThreeFingerClick(bool enabled);
@@ -86,6 +79,8 @@ class EVENTS_OZONE_EVDEV_EXPORT InputDeviceFactoryEvdev {
void NotifyDeviceChange(const EventConverterEvdev& converter);
void NotifyKeyboardsUpdated();
void NotifyTouchscreensUpdated();
+ void NotifyMouseDevicesUpdated();
+ void NotifyTouchpadDevicesUpdated();
void SetIntPropertyForOneType(const EventDeviceType type,
const std::string& name,

Powered by Google App Engine
This is Rietveld 408576698