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

Unified Diff: ui/events/devices/input_device_manager.h

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Removing debug include. Created 3 years, 5 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/ws/window_server_delegate.h ('k') | ui/events/devices/input_device_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/input_device_manager.h
diff --git a/ui/events/devices/input_device_manager.h b/ui/events/devices/input_device_manager.h
index 83835ad854ab3c20ffb0181eff417bad135c8115..59526ea357de5571ea321902c2a9669dcca41283 100644
--- a/ui/events/devices/input_device_manager.h
+++ b/ui/events/devices/input_device_manager.h
@@ -15,8 +15,8 @@
namespace ui {
-// Interface to query available input devices. Holds a static pointer to an
-// implementation that provides this service. The implementation could be
+// Interface to query available input devices. Holds a thread-local pointer to
+// an implementation that provides this service. The implementation could be
// DeviceDataManager or something that mirrors the necessary state if
// DeviceDataManager is in a different process.
class EVENTS_DEVICES_EXPORT InputDeviceManager {
@@ -39,7 +39,7 @@ class EVENTS_DEVICES_EXPORT InputDeviceManager {
virtual void RemoveObserver(InputDeviceEventObserver* observer) = 0;
protected:
- // Sets the instance. This should only be set once per process.
+ // Sets the instance. This should only be set once per thread.
static void SetInstance(InputDeviceManager* instance);
// Clears the instance. InputDeviceManager doesn't own the instance and won't
« no previous file with comments | « services/ui/ws/window_server_delegate.h ('k') | ui/events/devices/input_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698