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

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

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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/demo/mus_demo.cc ('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 2819055020847a886e4d4878c33aa0549d70f82a..34abe280ffd4d21b552f6b6ac416829a58e37cfb 100644
--- a/services/ui/input_devices/input_device_server.h
+++ b/services/ui/input_devices/input_device_server.h
@@ -14,6 +14,10 @@
#include "ui/events/devices/device_data_manager.h"
#include "ui/events/devices/input_device_event_observer.h"
+namespace shell {
+class InterfaceRegistry;
+}
+
namespace ui {
// Listens to DeviceDataManager for updates on input-devices and forwards those
@@ -31,11 +35,11 @@ class InputDeviceServer
void RegisterAsObserver();
bool IsRegisteredAsObserver() const;
- // Adds interface with the shell connection so remote observers can connect.
- // You should have already called RegisterAsObserver() to get local
+ // Adds interface with the connection registry so remote observers can
+ // connect. You should have already called RegisterAsObserver() to get local
// input-device event updates and checked it was successful by calling
// IsRegisteredAsObserver().
- void AddInterface(shell::Connection* connection);
+ void AddInterface(shell::InterfaceRegistry* registry);
// mojom::InputDeviceServer:
void AddObserver(mojom::InputDeviceObserverMojoPtr observer) override;
« no previous file with comments | « services/ui/demo/mus_demo.cc ('k') | services/ui/input_devices/input_device_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698