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

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: Added a comment for PostTask in AppListServiceAsh. Created 4 years, 9 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_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index c66eb15d76e75372c648e612f42d623fcdda7c7a..fff03f56a3c8581f724fcbd26b55e01977472ee7 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -13,6 +13,7 @@
#include "base/strings/string16.h"
namespace app_list {
+class AppListController;
class AppListViewDelegate;
}
@@ -116,9 +117,8 @@ class ASH_EXPORT ShellDelegate {
virtual void RemoveVirtualKeyboardStateObserver(
VirtualKeyboardStateObserver* observer) = 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 GetAppListController. Ownership stays with Chrome.
+ virtual app_list::AppListController* GetAppListController() = 0;
// Creates a new ShelfDelegate. Shell takes ownership of the returned
// value.
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/app_list_controller.h » ('j') | ash/wm/app_list_layout_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698