summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 09:06:09 +0000
committerbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 09:06:09 +0000
commit47409d02178598ba340540966d6a3c77269b385a (patch)
tree69565fecf7b9c4ff28e3ec56cf6ff3137df4984a /ash
parent95480715ce5206be46ea2b29724676984de4567f (diff)
downloadchromium_src-47409d02178598ba340540966d6a3c77269b385a.zip
chromium_src-47409d02178598ba340540966d6a3c77269b385a.tar.gz
chromium_src-47409d02178598ba340540966d6a3c77269b385a.tar.bz2
[win] Keep the applist around to speed up showing it.
Instead of creating / destroying the window when it is shown and closed, it is now created at startup and instead of being closed it is just hidden. BUG=160595 TEST=Ensure the app list on Windows functions correctly. Make sure the browser process is closed whenever the app list, browsers and apps are all closed. Review URL: https://chromiumcodereview.appspot.com/11348328 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/shell/app_list.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index b7f915d..0e7e103e 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -272,7 +272,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
// Nothing needs to be done.
}
- virtual void Close() OVERRIDE {
+ virtual void Dismiss() OVERRIDE {
DCHECK(ash::Shell::HasInstance());
if (Shell::GetInstance()->GetAppListTargetVisibility())
Shell::GetInstance()->ToggleAppList();