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

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

Issue 875513005: [PATCH 10/11] ozone: evdev: Add a device factory proxy that forwards to device thread (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 866526657c54a2aaed1afafd0160cc37fff2da5b..0a3dfefd09eba27972a438d00da86020acdb48b1 100644
--- a/ui/events/ozone/evdev/input_controller_evdev.h
+++ b/ui/events/ozone/evdev/input_controller_evdev.h
@@ -13,7 +13,7 @@
namespace ui {
-class InputDeviceFactoryEvdev;
+class InputDeviceFactoryProxyEvdev;
class KeyboardEvdev;
class MouseButtonMapEvdev;
@@ -26,7 +26,8 @@ class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController {
// Initialize device factory. This would be in the constructor if it was
// built early enough for that to be possible.
- void SetInputDeviceFactory(InputDeviceFactoryEvdev* input_device_factory);
+ void SetInputDeviceFactory(
+ InputDeviceFactoryProxyEvdev* input_device_factory);
void SetHasMouse(bool has_mouse);
void SetHasTouchpad(bool has_touchpad);
@@ -59,7 +60,7 @@ class EVENTS_OZONE_EVDEV_EXPORT InputControllerEvdev : public InputController {
private:
// Factory for devices. Needed to update device config.
- InputDeviceFactoryEvdev* input_device_factory_;
+ InputDeviceFactoryProxyEvdev* input_device_factory_;
// Keyboard state.
KeyboardEvdev* keyboard_;

Powered by Google App Engine
This is Rietveld 408576698