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

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

Issue 868213002: [PATCH 7/11] ozone: evdev: Move GesturePropertyProvider to InputDeviceFactoryEvdev (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_controller_evdev.h
diff --git a/ui/events/ozone/evdev/input_controller_evdev.h b/ui/events/ozone/evdev/input_controller_evdev.h
index cc930b6173828c58cef9909ae69dbde59f233ba7..1d4f2c511edb912a13d406424a101f0a4f02742b 100644
--- a/ui/events/ozone/evdev/input_controller_evdev.h
+++ b/ui/events/ozone/evdev/input_controller_evdev.h
@@ -8,7 +8,6 @@
#include <string>
#include "base/basictypes.h"
-#include "ui/events/ozone/evdev/event_device_info.h"
#include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
#include "ui/ozone/public/input_controller.h"
@@ -18,20 +17,11 @@ class InputDeviceFactoryEvdev;
class KeyboardEvdev;
class MouseButtonMapEvdev;
-#if defined(USE_EVDEV_GESTURES)
-class GesturePropertyProvider;
-#endif
-
// Ozone InputController implementation for the Linux input subsystem ("evdev").
class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController {
public:
InputControllerEvdev(KeyboardEvdev* keyboard,
- MouseButtonMapEvdev* button_map
-#if defined(USE_EVDEV_GESTURES)
- ,
- GesturePropertyProvider* gesture_property_provider
-#endif
- );
+ MouseButtonMapEvdev* button_map);
~InputControllerEvdev() override;
// Initialize device factory. This would be in the constructor if it was
@@ -65,14 +55,6 @@ class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController {
void EnableInternalKeyboard() override;
private:
- // Set a property value for all devices of one type.
- void SetIntPropertyForOneType(const EventDeviceType type,
- const std::string& name,
- int value);
- void SetBoolPropertyForOneType(const EventDeviceType type,
- const std::string& name,
- bool value);
-
// Factory for devices. Needed to update device config.
InputDeviceFactoryEvdev* input_device_factory_;
@@ -82,11 +64,6 @@ class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController {
// Mouse button map.
MouseButtonMapEvdev* button_map_;
-#if defined(USE_EVDEV_GESTURES)
- // Gesture library property provider.
- GesturePropertyProvider* gesture_property_provider_;
-#endif
-
DISALLOW_COPY_AND_ASSIGN(InputControllerEvdev);
};

Powered by Google App Engine
This is Rietveld 408576698