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

Unified Diff: ash/common/wm_shell.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/common/wm_shell.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 2161121c8fda5a8f5b2b6ad92e22b747eed071e3..a194379796c8fe2b6673e8dd809058e575d56d34 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -4,6 +4,8 @@
#include "ash/common/wm_shell.h"
+#include "ash/common/wm/mru_window_tracker.h"
+
namespace ash {
// static
@@ -19,4 +21,16 @@ WmShell* WmShell::Get() {
return instance_;
}
+WmShell::WmShell() {}
+
+WmShell::~WmShell() {}
+
+void WmShell::CreateMruWindowTracker() {
+ mru_window_tracker_.reset(new MruWindowTracker);
+}
+
+void WmShell::DeleteMruWindowTracker() {
+ mru_window_tracker_.reset();
+}
+
} // namespace ash
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698