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

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: address comments 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 1d8eb80eca1d867d7d0bb945a33fd3c204d86a3b..bf5a44b504b9e6d23641f3d4cbea132b31e3d980 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -317,8 +317,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 {
« ash/shell.h ('K') | « ash/shell.cc ('k') | ash/wm/app_list_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698