Index: ui/app_list/views/start_page_view.h |
diff --git a/ui/app_list/views/start_page_view.h b/ui/app_list/views/start_page_view.h |
index 2239b0ac9303bf740ddc42ab9ed5bb0e896a6dfc..f9644d3f52cd3c527a58863b28eaa8249bd1ba0a 100644 |
--- a/ui/app_list/views/start_page_view.h |
+++ b/ui/app_list/views/start_page_view.h |
@@ -6,6 +6,7 @@ |
#define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ |
#include "base/basictypes.h" |
+#include "ui/app_list/app_list_view_delegate_observer.h" |
#include "ui/views/controls/button/button.h" |
#include "ui/views/view.h" |
@@ -16,25 +17,38 @@ class WebContents; |
namespace app_list { |
class AppListMainView; |
+class AppListModel; |
+class AppListViewDelegate; |
+class TileItemView; |
// The start page for the experimental app list. |
-class StartPageView : public views::View, public views::ButtonListener { |
+class StartPageView : public views::View, |
+ public views::ButtonListener, |
+ public AppListViewDelegateObserver { |
public: |
StartPageView(AppListMainView* app_list_main_view, |
- content::WebContents* start_page_web_contents); |
+ AppListViewDelegate* view_delegate); |
virtual ~StartPageView(); |
void Reset(); |
private: |
+ TileItemView* GetTileViewAt(int index); |
+ |
// Overridden from views::ButtonListener: |
virtual void ButtonPressed(views::Button* sender, |
const ui::Event& event) OVERRIDE; |
+ // Overridden from AppListViewDelegateObserver: |
+ virtual void OnProfilesChanged() OVERRIDE; |
+ |
// The parent view of ContentsView which is the parent of this view. |
AppListMainView* app_list_main_view_; |
+ AppListViewDelegate* view_delegate_; // Owned by AppListView. |
+ |
views::View* instant_container_; // Owned by views hierarchy. |
+ views::View* tiles_container_; // Owned by views hierarchy. |
DISALLOW_COPY_AND_ASSIGN(StartPageView); |
}; |