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

Unified Diff: ash/mus/window_manager.h

Issue 2350953009: Centralizes more shared code between ash and mash (Closed)
Patch Set: feedback Created 4 years, 3 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 | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.h
diff --git a/ash/mus/window_manager.h b/ash/mus/window_manager.h
index b1006ae283f7f7f88121ca8c1245d3c02f0ef981..c24cc52cac754a022b7cd6f5839def6469fafe5f 100644
--- a/ash/mus/window_manager.h
+++ b/ash/mus/window_manager.h
@@ -15,7 +15,6 @@
#include "base/observer_list.h"
#include "services/ui/common/types.h"
#include "services/ui/public/cpp/window_manager_delegate.h"
-#include "services/ui/public/cpp/window_observer.h"
#include "services/ui/public/cpp/window_tree_client_delegate.h"
#include "services/ui/public/interfaces/window_manager.mojom.h"
@@ -52,7 +51,6 @@ class WmTestHelper;
// a RootWindowController per Display. WindowManager takes ownership of
// the WindowTreeClient.
class WindowManager : public ui::WindowManagerDelegate,
- public ui::WindowObserver,
public ui::WindowTreeClientDelegate {
public:
explicit WindowManager(shell::Connector* connector);
@@ -113,9 +111,7 @@ class WindowManager : public ui::WindowManagerDelegate,
RootWindowControllers::iterator FindRootWindowControllerByWindow(
ui::Window* window);
- // ui::WindowObserver:
- void OnWindowDestroying(ui::Window* window) override;
- void OnWindowDestroyed(ui::Window* window) override;
+ RootWindowController* GetPrimaryRootWindowController();
// WindowTreeClientDelegate:
void OnEmbed(ui::Window* root) override;
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698