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

Unified Diff: ash/common/wm/window_cycle_list.cc

Issue 2766543002: Move even more from WmShell to Shell (Closed)
Patch Set: Created 3 years, 9 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/window_cycle_controller.cc ('k') | ash/common/wm/window_positioner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_cycle_list.cc
diff --git a/ash/common/wm/window_cycle_list.cc b/ash/common/wm/window_cycle_list.cc
index 5fad4f2aa9bbf25bbc3a1c6c5753b9cba916aa23..9f9a11040249391c0b76331aa0e6b3c2d6a0297b 100644
--- a/ash/common/wm/window_cycle_list.cc
+++ b/ash/common/wm/window_cycle_list.cc
@@ -384,7 +384,7 @@ WindowCycleList::WindowCycleList(const WindowList& windows)
: windows_(windows),
screen_observer_(this) {
if (!ShouldShowUi())
- WmShell::Get()->mru_window_tracker()->SetIgnoreActivations(true);
+ Shell::Get()->mru_window_tracker()->SetIgnoreActivations(true);
for (WmWindow* window : windows_)
window->aura_window()->AddObserver(this);
@@ -401,7 +401,7 @@ WindowCycleList::WindowCycleList(const WindowList& windows)
WindowCycleList::~WindowCycleList() {
if (!ShouldShowUi())
- WmShell::Get()->mru_window_tracker()->SetIgnoreActivations(false);
+ Shell::Get()->mru_window_tracker()->SetIgnoreActivations(false);
for (WmWindow* window : windows_)
window->aura_window()->RemoveObserver(this);
« no previous file with comments | « ash/common/wm/window_cycle_controller.cc ('k') | ash/common/wm/window_positioner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698