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

Unified Diff: ash/shell_delegate.h

Issue 1770993002: wip: Refactoring Ash's AppListController, moving the bulk of the logic to chrome/browser/ui/ash/app… Base URL: https://chromium.googlesource.com/chromium/src.git@small_5_apps
Patch Set: AppListShower to new component: //ui/app_list/shower, GetViewDelegate() in GetViewDelegate(), test … 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 4a17a7692f25a909f35dc1d87996d2c3a6ee5d16..922462900a1c569a59da7d14f451e670be510f80 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -15,6 +15,7 @@
class GURL;
namespace app_list {
+class AppListShower;
class AppListViewDelegate;
}
@@ -112,9 +113,8 @@ class ASH_EXPORT ShellDelegate {
// Opens the |url| in a new browser tab.
virtual void OpenUrl(const GURL& url) = 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;
+ // Get the AppListShower. Ownership stays with Chrome.
+ virtual app_list::AppListShower* GetAppListShower() = 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