| 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 a6c139d187300a68310fd485e8a33510cacfc9ea..ffde548cc0f9930b453a32b9fa74e23155b4d02b 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
|
| @@ -11,17 +11,25 @@
|
| #include "chrome/browser/ui/app_list/app_list_service_impl.h"
|
| #include "ui/app_list/app_list_model.h"
|
|
|
| -class AppListControllerDelegateAsh;
|
| +namespace app_list {
|
| +class AppListShower;
|
| +class AppListShowerImpl;
|
| +class AppListShowerDelegateFactory;
|
| +}
|
|
|
| namespace base {
|
| template <typename T> struct DefaultSingletonTraits;
|
| }
|
| +
|
| +class AppListControllerDelegateAsh;
|
|
|
| // AppListServiceAsh wraps functionality in ChromeLauncherController and the Ash
|
| // Shell for showing and hiding the app list on the Ash desktop.
|
| class AppListServiceAsh : public AppListServiceImpl {
|
| public:
|
| static AppListServiceAsh* GetInstance();
|
| +
|
| + app_list::AppListShower* GetAppListShower();
|
|
|
| // AppListService overrides:
|
| void Init(Profile* initial_profile) override;
|
| @@ -34,6 +42,7 @@
|
|
|
| private:
|
| friend struct base::DefaultSingletonTraits<AppListServiceAsh>;
|
| + friend class AppListServiceAshTestApi;
|
|
|
| AppListServiceAsh();
|
| ~AppListServiceAsh() override;
|
| @@ -62,6 +71,9 @@
|
| void CreateForProfile(Profile* default_profile) override;
|
| void DestroyAppList() override;
|
|
|
| + std::unique_ptr<app_list::AppListShowerDelegateFactory>
|
| + shower_delegate_factory_;
|
| + std::unique_ptr<app_list::AppListShowerImpl> app_list_shower_;
|
| std::unique_ptr<AppListControllerDelegateAsh> controller_delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AppListServiceAsh);
|
|
|