summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 04:55:56 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 04:55:56 +0000
commit21729bcb4518c34d00a23d4fa984ea15eb19f3e2 (patch)
tree931b50f9f7c8ed354e55e333914df3bdae971e21 /ash/shell_delegate.h
parent9b0a925d5195a52ecaeb4128f3a69856ec87cf0e (diff)
downloadchromium_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_delegate.h')
-rw-r--r--ash/shell_delegate.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 9c6929b..e571471 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -35,15 +35,6 @@ class UserWallpaperDelegate;
// Delegate of the Shell.
class ASH_EXPORT ShellDelegate {
public:
- // Source requesting the window list.
- enum CycleSource {
- // Windows are going to be used for alt-tab (or F5).
- SOURCE_KEYBOARD,
-
- // Windows are going to be cycled from the launcher.
- SOURCE_LAUNCHER,
- };
-
// The Shell owns the delegate.
virtual ~ShellDelegate() {}
@@ -72,14 +63,6 @@ class ASH_EXPORT ShellDelegate {
// the created delegate.
virtual AppListViewDelegate* CreateAppListViewDelegate() = 0;
- // Returns a list of windows to cycle with keyboard shortcuts (e.g. alt-tab
- // or the window switching key). If |order_by_activity| is true then windows
- // are returned in most-recently-used order with the currently active window
- // at the front of the list. Otherwise any order may be returned. The list
- // does not contain NULL pointers.
- virtual std::vector<aura::Window*> GetCycleWindowList(
- CycleSource source) const = 0;
-
// Invoked to start taking partial screenshot.
virtual void StartPartialScreenshot(
ScreenshotDelegate* screenshot_delegate) = 0;