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

Unified Diff: services/ui/input_devices/input_device_server.h

Issue 2901563002: chromeos: adds TouchDeviceServer and wires up in mushrome (Closed)
Patch Set: no temporary Created 3 years, 7 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
« no previous file with comments | « services/ui/input_devices/BUILD.gn ('k') | services/ui/input_devices/input_device_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/input_devices/input_device_server.h
diff --git a/services/ui/input_devices/input_device_server.h b/services/ui/input_devices/input_device_server.h
index 085a7fbc6b2b604286ac79b7ea45cef75b976b0a..c64bda2e16d476d945fed5db5f769a21a722cbc7 100644
--- a/services/ui/input_devices/input_device_server.h
+++ b/services/ui/input_devices/input_device_server.h
@@ -19,6 +19,8 @@ struct BindSourceInfo;
namespace ui {
+class TouchDeviceServer;
+
// Listens to DeviceDataManager for updates on input-devices and forwards those
// updates to any registered InputDeviceObserverMojo in other processes via
// Mojo IPC. This runs in the mus-ws process.
@@ -63,6 +65,10 @@ class InputDeviceServer : public mojom::InputDeviceServer,
// DeviceDataManager instance we are registered as an observer with.
ui::DeviceDataManager* manager_ = nullptr;
+#if defined(OS_CHROMEOS)
+ std::unique_ptr<TouchDeviceServer> touch_device_server_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(InputDeviceServer);
};
« no previous file with comments | « services/ui/input_devices/BUILD.gn ('k') | services/ui/input_devices/input_device_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698