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

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: rebase 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 695fffc44fb7586112dd1b391a3680507153c92f..be9295e6ba2774db2ecfb180727f0388879b4b0e 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev.h
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.h
@@ -48,11 +48,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();
@@ -67,8 +62,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);
@@ -89,6 +82,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,
« no previous file with comments | « ui/events/ozone/evdev/input_controller_evdev.cc ('k') | ui/events/ozone/evdev/input_device_factory_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698