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

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

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 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 | « components/mus/ws/cursor_unittest.cc ('k') | components/mus/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display.h
diff --git a/components/mus/ws/display.h b/components/mus/ws/display.h
index fd7a641631d1be4b8d2703466807a435f80ac288..c48b1904dce5e4eca32ed321887a75dff8a939d0 100644
--- a/components/mus/ws/display.h
+++ b/components/mus/ws/display.h
@@ -24,7 +24,7 @@
#include "components/mus/ws/server_window_observer.h"
#include "components/mus/ws/server_window_tracker.h"
#include "components/mus/ws/user_id_tracker_observer.h"
-#include "components/mus/ws/window_manager_factory_registry_observer.h"
+#include "components/mus/ws/window_manager_window_tree_factory_set_observer.h"
namespace mus {
namespace ws {
@@ -56,7 +56,7 @@ class Display : public PlatformDisplayDelegate,
public FocusControllerDelegate,
public ServerWindowObserver,
public UserIdTrackerObserver,
- public WindowManagerFactoryRegistryObserver {
+ public WindowManagerWindowTreeFactorySetObserver {
public:
Display(WindowServer* window_server,
const PlatformDisplayInitParams& platform_display_init_params);
@@ -148,11 +148,11 @@ class Display : public PlatformDisplayDelegate,
void InitWindowManagersIfNecessary();
// Creates the set of WindowManagerStates from the
- // WindowManagerFactoryRegistry.
- void CreateWindowManagerStatesFromRegistry();
+ // WindowManagerWindowTreeFactorySet.
+ void CreateWindowManagerStatesFromFactories();
- void CreateWindowManagerStateFromService(
- WindowManagerFactoryService* service);
+ void CreateWindowManagerStateFromFactory(
+ WindowManagerWindowTreeFactory* factory);
// PlatformDisplayDelegate:
ServerWindow* GetRootWindow() override;
@@ -182,8 +182,9 @@ class Display : public PlatformDisplayDelegate,
void OnUserIdAdded(const UserId& id) override;
void OnUserIdRemoved(const UserId& id) override;
- // WindowManagerFactoryRegistryObserver:
- void OnWindowManagerFactorySet(WindowManagerFactoryService* service) override;
+ // WindowManagerWindowTreeFactorySetObserver:
+ void OnWindowManagerWindowTreeFactoryReady(
+ WindowManagerWindowTreeFactory* factory) override;
const uint32_t id_;
std::unique_ptr<DisplayBinding> binding_;
« no previous file with comments | « components/mus/ws/cursor_unittest.cc ('k') | components/mus/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698