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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2041423002: Moves MruWindowTracker to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_mru_window_tracker
Patch Set: merge 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 | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index effc0ec58b469c140938b8fbf46d539c35b902a7..829e4a921a1b50fe1a8dd392f35478a174a720e6 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -89,9 +89,12 @@ WmShellMus::WmShellMus(::mus::WindowTreeClient* client)
: client_(client), session_state_delegate_(new SessionStateDelegateStub) {
client_->AddObserver(this);
WmShell::Set(this);
+
+ CreateMruWindowTracker();
}
WmShellMus::~WmShellMus() {
+ DeleteMruWindowTracker();
RemoveClientObserver();
WmShell::Set(nullptr);
}
@@ -160,16 +163,6 @@ WmWindow* WmShellMus::GetRootWindowForNewWindows() {
return root_window_controllers_[0]->GetWindow();
}
-std::vector<WmWindow*> WmShellMus::GetMruWindowList() {
- NOTIMPLEMENTED();
- return std::vector<WmWindow*>();
-}
-
-std::vector<WmWindow*> WmShellMus::GetMruWindowListIgnoreModals() {
- NOTIMPLEMENTED();
- return std::vector<WmWindow*>();
-}
-
bool WmShellMus::IsForceMaximizeOnFirstRun() {
NOTIMPLEMENTED();
return false;
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698