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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_service_ash.h

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Sync and rebase Created 3 years, 11 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_service_ash.h
diff --git a/chrome/browser/ui/ash/app_list/app_list_service_ash.h b/chrome/browser/ui/ash/app_list/app_list_service_ash.h
index b3f3763e61dbde6c9d374314d191b0d2157bb45f..11754664a955f74492097a6ef308e132e535052f 100644
--- a/chrome/browser/ui/ash/app_list/app_list_service_ash.h
+++ b/chrome/browser/ui/ash/app_list/app_list_service_ash.h
@@ -9,13 +9,12 @@
#include "base/macros.h"
#include "chrome/browser/ui/app_list/app_list_service_impl.h"
-#include "chrome/browser/ui/ash/app_list/app_list_presenter_service.h"
#include "ui/app_list/app_list_model.h"
+class AppListPresenterService;
+
namespace app_list {
-class AppListPresenter;
class AppListPresenterImpl;
-class AppListPresenterDelegateFactory;
}
namespace base {
@@ -30,7 +29,7 @@ class AppListServiceAsh : public AppListServiceImpl {
public:
static AppListServiceAsh* GetInstance();
- app_list::AppListPresenter* GetAppListPresenter();
+ app_list::AppListPresenterImpl* GetAppListPresenter();
// AppListService overrides:
void Init(Profile* initial_profile) override;
@@ -72,12 +71,9 @@ class AppListServiceAsh : public AppListServiceImpl {
void CreateForProfile(Profile* default_profile) override;
void DestroyAppList() override;
- std::unique_ptr<app_list::AppListPresenterDelegateFactory>
- presenter_delegate_factory_;
std::unique_ptr<app_list::AppListPresenterImpl> app_list_presenter_;
std::unique_ptr<AppListControllerDelegateAsh> controller_delegate_;
-
- AppListPresenterService app_list_presenter_service_;
+ std::unique_ptr<AppListPresenterService> app_list_presenter_service_;
DISALLOW_COPY_AND_ASSIGN(AppListServiceAsh);
};
« no previous file with comments | « chrome/browser/ui/ash/app_list/app_list_presenter_service.cc ('k') | chrome/browser/ui/ash/app_list/app_list_service_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698