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

Unified Diff: ash/common/focus_cycler.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/aura/wm_shell_aura.cc ('k') | ash/common/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/focus_cycler.cc
diff --git a/ash/common/focus_cycler.cc b/ash/common/focus_cycler.cc
index 8eb40f090135458571649be0fd5b5ea501364759..5ef50d4f8f6822e794a11110582a610e5bc41142 100644
--- a/ash/common/focus_cycler.cc
+++ b/ash/common/focus_cycler.cc
@@ -18,7 +18,7 @@ namespace ash {
namespace {
bool HasFocusableWindow() {
- return !WmShell::Get()->GetMruWindowTracker()->BuildMruWindowList().empty();
+ return !WmShell::Get()->mru_window_tracker()->BuildMruWindowList().empty();
}
} // namespace
@@ -80,7 +80,7 @@ void FocusCycler::RotateFocus(Direction direction) {
if (index == browser_index) {
// Activate the most recently active browser window.
MruWindowTracker::WindowList mru_windows(
- WmShell::Get()->GetMruWindowTracker()->BuildMruWindowList());
+ WmShell::Get()->mru_window_tracker()->BuildMruWindowList());
if (mru_windows.empty())
break;
WmWindow* window = mru_windows.front();
« no previous file with comments | « ash/aura/wm_shell_aura.cc ('k') | ash/common/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698