Chromium Code Reviews| Index: chrome/browser/ui/ash/app_list/app_list_controller_ash.h |
| diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.h b/chrome/browser/ui/ash/app_list/app_list_controller_ash.h |
| index b8a50f5f4efd6ba831e4071ad688812ee7ccf237..41f0bf6b9680a7b456c3cc9c79fcbaaf14e8dff3 100644 |
| --- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.h |
| +++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.h |
| @@ -8,6 +8,9 @@ |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
| +#include "chrome/browser/ui/app_list_service.h" |
| + |
| +template <typename T> struct DefaultSingletonTraits; |
| class AppListControllerDelegateAsh : public AppListControllerDelegate { |
| public: |
| @@ -34,4 +37,18 @@ class AppListControllerDelegateAsh : public AppListControllerDelegate { |
| DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateAsh); |
| }; |
| +class AppListServiceAsh : public AppListService { |
|
tapted
2013/02/11 04:04:20
this probably belongs in a separate file, along wi
tapted
2013/02/19 03:15:32
Done.
|
| + public: |
| + static AppListServiceAsh* GetInstance(); |
| + |
| + // AppListService overrides: |
| + virtual void ShowAppList(Profile* default_profile) OVERRIDE; |
| + virtual bool IsAppListVisible() OVERRIDE; |
| + virtual void DismissAppList() OVERRIDE; |
| + |
| + private: |
| + AppListServiceAsh() {} |
| + DISALLOW_COPY_AND_ASSIGN(AppListServiceAsh); |
| +}; |
| + |
| #endif // CHROME_BROWSER_UI_ASH_APP_LIST_APP_LIST_CONTROLLER_ASH_H_ |