| Index: ash/wm/window_cycle_list.cc
|
| diff --git a/ash/wm/window_cycle_list.cc b/ash/wm/window_cycle_list.cc
|
| index fd39d0f4b9f890fbe97f3395a7d8a3e8a6c18072..8acfe00f6eadb406c8c9e839f11806f37fecc622 100644
|
| --- a/ash/wm/window_cycle_list.cc
|
| +++ b/ash/wm/window_cycle_list.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ash/wm/window_cycle_list.h"
|
|
|
| +#include "ash/shell.h"
|
| +#include "ash/wm/mru_window_tracker.h"
|
| #include "ash/wm/window_util.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/views/corewm/window_animations.h"
|
| @@ -13,6 +15,7 @@ namespace ash {
|
| WindowCycleList::WindowCycleList(const WindowList& windows)
|
| : windows_(windows),
|
| current_index_(-1) {
|
| + ash::Shell::GetInstance()->mru_window_tracker()->IgnoreActivations(true);
|
| // Locate the currently active window in the list to use as our start point.
|
| aura::Window* active_window = wm::GetActiveWindow();
|
|
|
| @@ -27,6 +30,7 @@ WindowCycleList::WindowCycleList(const WindowList& windows)
|
| }
|
|
|
| WindowCycleList::~WindowCycleList() {
|
| + ash::Shell::GetInstance()->mru_window_tracker()->IgnoreActivations(false);
|
| for (WindowList::const_iterator i = windows_.begin(); i != windows_.end();
|
| ++i) {
|
| (*i)->RemoveObserver(this);
|
|
|