| Index: ui/app_list/views/app_list_main_view.h
|
| diff --git a/ui/app_list/views/app_list_main_view.h b/ui/app_list/views/app_list_main_view.h
|
| index 1d79cd576dffa2e7e4a07d9a90294f322cd2b251..a36489bd92e4d56b80bde2d2e189ce9465026834 100644
|
| --- a/ui/app_list/views/app_list_main_view.h
|
| +++ b/ui/app_list/views/app_list_main_view.h
|
| @@ -24,6 +24,7 @@ namespace app_list {
|
|
|
| class AppListItem;
|
| class AppListModel;
|
| +class AppListView;
|
| class AppListViewDelegate;
|
| class ApplicationDragAndDropHost;
|
| class ContentsView;
|
| @@ -38,7 +39,8 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
|
| public SearchResultListViewDelegate {
|
| public:
|
| // Takes ownership of |delegate|.
|
| - explicit AppListMainView(AppListViewDelegate* delegate,
|
| + explicit AppListMainView(AppListView* app_list_view,
|
| + AppListViewDelegate* delegate,
|
| PaginationModel* pagination_model,
|
| gfx::NativeView parent);
|
| virtual ~AppListMainView();
|
| @@ -83,6 +85,7 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
|
|
|
| // Overridden from SearchBoxViewDelegate:
|
| virtual void QueryChanged(SearchBoxView* sender) OVERRIDE;
|
| + virtual void SearchBoxVisibilityChanged(SearchBoxView* sender) OVERRIDE;
|
|
|
| // Overridden from SearchResultListViewDelegate:
|
| virtual void OpenResult(SearchResult* result,
|
| @@ -98,6 +101,7 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
|
| PaginationModel* pagination_model_; // Owned by AppListController.
|
| AppListModel* model_; // Unowned; ownership is handled by |delegate_|.
|
|
|
| + AppListView* app_list_view_; // Owned by view hierarchy.
|
| SearchBoxView* search_box_view_; // Owned by views hierarchy.
|
| ContentsView* contents_view_; // Owned by views hierarchy.
|
|
|
|
|