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

Unified Diff: ash/wm/mru_window_tracker.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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: ash/wm/mru_window_tracker.cc
diff --git a/ash/wm/mru_window_tracker.cc b/ash/wm/mru_window_tracker.cc
index 846046ffb8a1a6529c258c78ace52274bb329467..dcc8ad49290b9aa8c65d05299f4db3fa89d1c930 100644
--- a/ash/wm/mru_window_tracker.cc
+++ b/ash/wm/mru_window_tracker.cc
@@ -8,11 +8,11 @@
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/shell.h"
+#include "ash/shell_port.h"
#include "ash/wm/focus_rules.h"
#include "ash/wm/switchable_windows.h"
#include "ash/wm/window_state.h"
#include "ash/wm/window_util.h"
-#include "ash/wm_shell.h"
#include "ash/wm_window.h"
#include "base/bind.h"
#include "ui/aura/window.h"
@@ -47,7 +47,7 @@ MruWindowTracker::WindowList BuildWindowListInternal(
const CanActivateWindowPredicate& should_include_window_predicate) {
MruWindowTracker::WindowList windows;
WmWindow* active_root = Shell::GetWmRootWindowForNewWindows();
- for (WmWindow* window : WmShell::Get()->GetAllRootWindows()) {
+ for (WmWindow* window : ShellPort::Get()->GetAllRootWindows()) {
if (window == active_root)
continue;
for (size_t i = 0; i < wm::kSwitchableWindowContainerIdsLength; ++i)

Powered by Google App Engine
This is Rietveld 408576698