diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 04:55:56 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-03 04:55:56 +0000 |
commit | 21729bcb4518c34d00a23d4fa984ea15eb19f3e2 (patch) | |
tree | 931b50f9f7c8ed354e55e333914df3bdae971e21 /ash/shell/shell_delegate_impl.cc | |
parent | 9b0a925d5195a52ecaeb4128f3a69856ec87cf0e (diff) | |
download | chromium_src-21729bcb4518c34d00a23d4fa984ea15eb19f3e2.zip chromium_src-21729bcb4518c34d00a23d4fa984ea15eb19f3e2.tar.gz chromium_src-21729bcb4518c34d00a23d4fa984ea15eb19f3e2.tar.bz2 |
Remove ShellDelegate::GetCycleWindowList. Because alt-tab operates on
all windows now there is no need to push the implementation to the
delegate and it can instead be consolidated. Also added a couple more
test cases, and fixed a bug that occurred if there is a single window
but it wasn't active.
BUG=120987
TEST=see bug, also covered by test.
R=jamescook@chromium.org
Review URL: http://codereview.chromium.org/9969075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/shell_delegate_impl.cc')
-rw-r--r-- | ash/shell/shell_delegate_impl.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc index 4ceca7b..b736473 100644 --- a/ash/shell/shell_delegate_impl.cc +++ b/ash/shell/shell_delegate_impl.cc @@ -68,16 +68,6 @@ ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { return ash::shell::CreateAppListViewDelegate(); } -std::vector<aura::Window*> ShellDelegateImpl::GetCycleWindowList( - CycleSource source) const { - aura::Window* default_container = ash::Shell::GetInstance()->GetContainer( - ash::internal::kShellWindowId_DefaultContainer); - std::vector<aura::Window*> windows = default_container->children(); - // Window cycling expects the topmost window at the front of the list. - std::reverse(windows.begin(), windows.end()); - return windows; -} - void ShellDelegateImpl::StartPartialScreenshot( ash::ScreenshotDelegate* screenshot_delegate) { ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate); |