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

Unified Diff: ash/wm/window_cycle_controller.cc

Issue 2895713002: [mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview mode (Closed)
Patch Set: Address nits, unit_tests target compiles Created 3 years, 7 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/window_cycle_controller.cc
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc
index dae260659c551aa4c6af3a82443164c0735074fb..132d447ec4d18f4a93e57252c16239b2b6b41265 100644
--- a/ash/wm/window_cycle_controller.cc
+++ b/ash/wm/window_cycle_controller.cc
@@ -55,8 +55,8 @@ void WindowCycleController::HandleCycleWindow(Direction direction) {
}
void WindowCycleController::StartCycling() {
- WindowCycleList::WindowList window_list = WmWindow::ToAuraWindows(
- Shell::Get()->mru_window_tracker()->BuildMruWindowList());
+ WindowCycleList::WindowList window_list =
+ Shell::Get()->mru_window_tracker()->BuildMruWindowList();
// Exclude windows:
// - non user positionable windows, such as extension popups.
// - windows being dragged
@@ -110,8 +110,7 @@ void WindowCycleController::StopCycling() {
window_cycle_list_.reset();
aura::Window* active_window_after_window_cycle =
- GetActiveWindow(WmWindow::ToAuraWindows(
- Shell::Get()->mru_window_tracker()->BuildMruWindowList()));
+ GetActiveWindow(Shell::Get()->mru_window_tracker()->BuildMruWindowList());
// Remove our key event filter.
event_filter_.reset();

Powered by Google App Engine
This is Rietveld 408576698