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

Unified Diff: ash/shell_delegate.h

Issue 1866403006: Revert of AppListController refactoring part 3: Switching over to use AppListShower in Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus_chrome_delegates_ash_impl
Patch Set: Created 4 years, 8 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
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/app_list_controller_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 922462900a1c569a59da7d14f451e670be510f80..4a17a7692f25a909f35dc1d87996d2c3a6ee5d16 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -15,7 +15,6 @@
class GURL;
namespace app_list {
-class AppListShower;
class AppListViewDelegate;
}
@@ -113,8 +112,9 @@
// Opens the |url| in a new browser tab.
virtual void OpenUrl(const GURL& url) = 0;
- // Get the AppListShower. Ownership stays with Chrome.
- virtual app_list::AppListShower* GetAppListShower() = 0;
+ // Get the AppListViewDelegate, creating one if it does not yet exist.
+ // Ownership stays with Chrome's AppListService, or the ShellDelegate.
+ virtual app_list::AppListViewDelegate* GetAppListViewDelegate() = 0;
// Creates a new ShelfDelegate. Shell takes ownership of the returned
// value.
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/app_list_controller_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698