Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: ash/shell/app_list.cc

Issue 460933002: Split Shell::ToggleAppList() into ShowAppList and DismissAppList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/shell/app_list.cc
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index f8351532d384a5956fc608cf62d1eb18c02fc8d1..47a6374a33c9736a2100b022779be8a1ebb9f571 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -316,8 +316,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
virtual void Dismiss() OVERRIDE {
DCHECK(ash::Shell::HasInstance());
- if (Shell::GetInstance()->GetAppListTargetVisibility())
- Shell::GetInstance()->ToggleAppList(NULL);
+ Shell::GetInstance()->DismissAppList();
}
virtual void ViewClosing() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698