From 6416a9a9c8f50dc9368123478147a0e4b9c7951f Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Tue, 17 Jan 2012 17:27:28 +0000 Subject: Aura: ShellDelegate GetCycleWindowList can request order by activity alicet@ is working on window switching animations for compact mode. We're finding that while most-recently-used cycling works pretty well for normal mode it's pretty confusing for compact mode, since you can't see an overview of the windows. This patch allows the window cycler controller to choose between most-recently-used and traditional linear order while we're sorting out which works better. BUG=none TEST=aura_shell_unittests WindowCycleControllerTest Review URL: https://chromiumcodereview.appspot.com/9112044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117908 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/test/test_shell_delegate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ash/test/test_shell_delegate.h') diff --git a/ash/test/test_shell_delegate.h b/ash/test/test_shell_delegate.h index 50cd72d..b81b086 100644 --- a/ash/test/test_shell_delegate.h +++ b/ash/test/test_shell_delegate.h @@ -22,7 +22,8 @@ class TestShellDelegate : public ShellDelegate { virtual views::Widget* CreateStatusArea() OVERRIDE; virtual void BuildAppListModel(AppListModel* model) OVERRIDE; virtual AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; - virtual std::vector GetCycleWindowList() const OVERRIDE; + virtual std::vector GetCycleWindowList( + CycleOrder order) const OVERRIDE; virtual void LauncherItemClicked(const LauncherItem& item) OVERRIDE; virtual bool ConfigureLauncherItem(LauncherItem* item) OVERRIDE; }; -- cgit v1.1