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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc

Issue 306023011: Add new DialogDelegate for dialogs in the App List (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split into separate files, fixed unittest and removed no-longer-needed overlay from AppList Created 6 years, 6 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: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index 1b642faddfab0d796c048518f7a48902a6ef7187..1293629e165b602a356b204531fa36624a648110 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -56,17 +56,9 @@ AppListControllerDelegate::Pinnable
}
void AppListControllerDelegateAsh::OnShowChildDialog() {
- app_list::AppListView* app_list_view =
- ash::Shell::GetInstance()->GetAppListView();
- if (app_list_view)
- app_list_view->SetAppListOverlayVisible(true);
}
void AppListControllerDelegateAsh::OnCloseChildDialog() {
- app_list::AppListView* app_list_view =
- ash::Shell::GetInstance()->GetAppListView();
- if (app_list_view)
- app_list_view->SetAppListOverlayVisible(false);
}
bool AppListControllerDelegateAsh::CanDoCreateShortcutsFlow() {

Powered by Google App Engine
This is Rietveld 408576698