| Index: chrome/browser/ui/views/app_list/win/app_list_service_win.h
|
| diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.h b/chrome/browser/ui/views/app_list/win/app_list_service_win.h
|
| index 6181a749c8c3da6c7b4533b675d5497d78925c6e..e4d00698a04d7a796a15b2e454ba266f9bf15084 100644
|
| --- a/chrome/browser/ui/views/app_list/win/app_list_service_win.h
|
| +++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.h
|
| @@ -6,39 +6,42 @@
|
| #define CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_SERVICE_WIN_H_
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "chrome/browser/ui/app_list/app_list_service_views.h"
|
| +#include "chrome/browser/ui/app_list/app_list_service_impl.h"
|
|
|
| -class ActivationTrackerWin;
|
| +namespace app_list{
|
| +class AppListModel;
|
| +}
|
|
|
| +class AppListControllerDelegateWin;
|
| +class AppListShower;
|
| template <typename T> struct DefaultSingletonTraits;
|
|
|
| -class AppListServiceWin : public AppListServiceViews {
|
| +class AppListServiceWin : public AppListServiceImpl {
|
| public:
|
| + AppListServiceWin();
|
| virtual ~AppListServiceWin();
|
|
|
| static AppListServiceWin* GetInstance();
|
| + void set_can_close(bool can_close);
|
| + void OnViewBeingDestroyed();
|
|
|
| // AppListService overrides:
|
| virtual void SetAppListNextPaintCallback(void (*callback)()) OVERRIDE;
|
| virtual void HandleFirstRun() OVERRIDE;
|
| virtual void Init(Profile* initial_profile) OVERRIDE;
|
| + virtual void CreateForProfile(Profile* requested_profile) OVERRIDE;
|
| virtual void ShowForProfile(Profile* requested_profile) OVERRIDE;
|
| + virtual void DismissAppList() OVERRIDE;
|
| + virtual bool IsAppListVisible() const OVERRIDE;
|
| + virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
|
| + virtual Profile* GetCurrentAppListProfile() OVERRIDE;
|
| + virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE;
|
|
|
| // AppListServiceImpl overrides:
|
| virtual void CreateShortcut() OVERRIDE;
|
|
|
| private:
|
| friend struct DefaultSingletonTraits<AppListServiceWin>;
|
| -
|
| - // AppListServiceViews overrides:
|
| - virtual void OnViewBeingDestroyed();
|
| -
|
| - // AppListShowerDelegate overrides:
|
| - virtual void OnViewCreated() OVERRIDE;
|
| - virtual void OnViewDismissed() OVERRIDE;
|
| - virtual void MoveNearCursor(app_list::AppListView* view) OVERRIDE;
|
| -
|
| - AppListServiceWin();
|
|
|
| bool IsWarmupNeeded();
|
| void ScheduleWarmup();
|
| @@ -51,7 +54,11 @@
|
| void OnLoadProfileForWarmup(Profile* initial_profile);
|
|
|
| bool enable_app_list_on_next_init_;
|
| - scoped_ptr<ActivationTrackerWin> activation_tracker_;
|
| +
|
| + // Responsible for putting views on the screen.
|
| + scoped_ptr<AppListShower> shower_;
|
| +
|
| + scoped_ptr<AppListControllerDelegateWin> controller_delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AppListServiceWin);
|
| };
|
|
|