diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-17 17:27:28 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-17 17:27:28 +0000 |
commit | 6416a9a9c8f50dc9368123478147a0e4b9c7951f (patch) | |
tree | 5b1b7c6dd4a74c9c2b9284d37d3faf10f5e468fd /ash/test/test_shell_delegate.h | |
parent | ec7b271972848c075878d14fe07f29197ebec6d6 (diff) | |
download | chromium_src-6416a9a9c8f50dc9368123478147a0e4b9c7951f.zip chromium_src-6416a9a9c8f50dc9368123478147a0e4b9c7951f.tar.gz chromium_src-6416a9a9c8f50dc9368123478147a0e4b9c7951f.tar.bz2 |
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
Diffstat (limited to 'ash/test/test_shell_delegate.h')
-rw-r--r-- | ash/test/test_shell_delegate.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<aura::Window*> GetCycleWindowList() const OVERRIDE; + virtual std::vector<aura::Window*> GetCycleWindowList( + CycleOrder order) const OVERRIDE; virtual void LauncherItemClicked(const LauncherItem& item) OVERRIDE; virtual bool ConfigureLauncherItem(LauncherItem* item) OVERRIDE; }; |