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

Unified Diff: components/mus/ws/window_manager_factory_registry_observer.h

Issue 1757403002: More user id tracking for mus: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 10 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: components/mus/ws/window_manager_factory_registry_observer.h
diff --git a/components/mus/ws/window_manager_factory_registry_observer.h b/components/mus/ws/window_manager_factory_registry_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..ebbddf014f84ce3ca774fdf94ebd9354c896f548
--- /dev/null
+++ b/components/mus/ws/window_manager_factory_registry_observer.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_MUS_WS_WINDOW_MANAGER_FACTORY_REGISTRY_OBSERVER_H_
+#define COMPONENTS_MUS_WS_WINDOW_MANAGER_FACTORY_REGISTRY_OBSERVER_H_
+
+namespace mus {
+namespace ws {
+
+class WindowManagerFactoryService;
+
+class WindowManagerFactoryRegistryObserver {
+ public:
+ // Called when the mojom::WindowManagerFactory associated with |service| has
+ // been obtained.
+ virtual void OnWindowManagerFactorySet(
+ WindowManagerFactoryService* service) = 0;
+
+ protected:
+ virtual ~WindowManagerFactoryRegistryObserver() {}
+};
+
+} // namespace ws
+} // namespace mus
+
+#endif // COMPONENTS_MUS_WS_WINDOW_MANAGER_FACTORY_REGISTRY_OBSERVER_H_
« no previous file with comments | « components/mus/ws/window_manager_factory_registry.cc ('k') | components/mus/ws/window_manager_factory_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698