summaryrefslogtreecommitdiffstats
path: root/ash/focus_cycler.cc
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 07:10:59 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 07:10:59 +0000
commit66c5c4115cac0daefab5f0a29d18d400419af52c (patch)
tree485685bb836a5d93f647bd097bf11f6bfe1e2d71 /ash/focus_cycler.cc
parent2a52ec073d609dbdea90618d9e0eae73e7bf56bb (diff)
downloadchromium_src-66c5c4115cac0daefab5f0a29d18d400419af52c.zip
chromium_src-66c5c4115cac0daefab5f0a29d18d400419af52c.tar.gz
chromium_src-66c5c4115cac0daefab5f0a29d18d400419af52c.tar.bz2
Refactor most recently used window tracking into a separate class.
BUG=263477 TEST=None Review URL: https://chromiumcodereview.appspot.com/20708005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/focus_cycler.cc')
-rw-r--r--ash/focus_cycler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/focus_cycler.cc b/ash/focus_cycler.cc
index 81611dc..c83db87 100644
--- a/ash/focus_cycler.cc
+++ b/ash/focus_cycler.cc
@@ -5,6 +5,7 @@
#include "ash/focus_cycler.h"
#include "ash/shell.h"
+#include "ash/wm/mru_window_tracker.h"
#include "ash/wm/window_cycle_controller.h"
#include "ash/wm/window_util.h"
#include "ui/aura/client/activation_client.h"
@@ -18,7 +19,7 @@ namespace ash {
namespace {
bool HasFocusableWindow() {
- return !WindowCycleController::BuildWindowList(NULL, false).empty();
+ return !MruWindowTracker::BuildWindowList(false).empty();
}
} // namespace