| Index: ui/app_list/presenter/app_list.h
|
| diff --git a/ui/app_list/presenter/app_list.h b/ui/app_list/presenter/app_list.h
|
| index fb4b8a22c04b666dd96a3cdfca9be9cb20e7708d..22b32cdf5a71a9ff62be0af45a748fb32311e9b8 100644
|
| --- a/ui/app_list/presenter/app_list.h
|
| +++ b/ui/app_list/presenter/app_list.h
|
| @@ -11,6 +11,8 @@
|
|
|
| namespace app_list {
|
|
|
| +class AppListDelegate;
|
| +
|
| // Stores the app list presenter interface pointer.
|
| class APP_LIST_PRESENTER_EXPORT AppList : public mojom::AppList {
|
| public:
|
| @@ -35,7 +37,9 @@ class APP_LIST_PRESENTER_EXPORT AppList : public mojom::AppList {
|
| // mojom::AppList:
|
| void SetAppListPresenter(mojom::AppListPresenterPtr presenter) override;
|
| void OnTargetVisibilityChanged(bool visible) override;
|
| - void OnVisibilityChanged(bool visible) override;
|
| + void OnVisibilityChanged(bool visible, int64_t display_id) override;
|
| +
|
| + void set_delegate(AppListDelegate* delegate) { delegate_ = delegate; }
|
|
|
| private:
|
| // Bindings for the mojom::AppList interface.
|
| @@ -48,6 +52,8 @@ class APP_LIST_PRESENTER_EXPORT AppList : public mojom::AppList {
|
| bool target_visible_ = false;
|
| bool visible_ = false;
|
|
|
| + AppListDelegate* delegate_ = nullptr;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AppList);
|
| };
|
|
|
|
|