Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: ui/app_list/views/contents_view.h

Issue 186483004: Add a skeleton Start Page to the experimental app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ares_change_experimental_animation
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/contents_view.h
diff --git a/ui/app_list/views/contents_view.h b/ui/app_list/views/contents_view.h
index 6b9d4a94c58b900502c6e8e567491b71483726f8..9d6ad846e8ef1de051a868943e764ca439cb8bca 100644
--- a/ui/app_list/views/contents_view.h
+++ b/ui/app_list/views/contents_view.h
@@ -29,6 +29,7 @@ class AppListModel;
class AppListViewDelegate;
class AppsContainerView;
class PaginationModel;
+class StartPageView;
// A view to manage sub views under the search box (apps grid view + page
// switcher and search results). The two sets of sub views are mutually
@@ -39,6 +40,7 @@ class ContentsView : public views::View {
enum ShowState {
SHOW_APPS,
SHOW_SEARCH_RESULTS,
+ SHOW_START_PAGE,
tapted 2014/03/10 02:41:54 Maybe go with SHOW_SEARCH_PAGE? I don't think we s
calamity 2014/03/14 07:50:02 See below.
};
ContentsView(AppListMainView* app_list_main_view,
@@ -86,6 +88,8 @@ class ContentsView : public views::View {
PaginationModel* pagination_model_; // Owned by AppListController.
AppsContainerView* apps_container_view_; // Owned by the views hierarchy.
+ AppListMainView* app_list_main_view_; // Owned by the views hierarchy.
tapted 2014/03/10 02:41:54 In keeping with the other GetFooView(..) functions
calamity 2014/03/14 07:50:02 Done.
+ StartPageView* start_page_view_; // Owned by the views hierarchy.
tapted 2014/03/10 02:41:54 This doesn't seem to be used/initialized - remove?
calamity 2014/03/14 07:50:02 Done.
scoped_ptr<views::ViewModel> view_model_;
scoped_ptr<views::BoundsAnimator> bounds_animator_;

Powered by Google App Engine
This is Rietveld 408576698