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

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

Issue 665233002: Experimental app list: Added "All apps" button on start page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/app-list-factor-folderimagesource
Patch Set: Rebase. Created 6 years, 2 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
« no previous file with comments | « ui/app_list/views/search_result_tile_item_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 958f2cc6cefa0fb262416f96d00f6b7c0daf1d76..ad6f8ca79e167bb05ebc6423aecebb8f5726932d 100644
--- a/ui/app_list/views/start_page_view.h
+++ b/ui/app_list/views/start_page_view.h
@@ -16,9 +16,11 @@
namespace app_list {
+class AllAppsTileItemView;
class AppListMainView;
class AppListViewDelegate;
class SearchResultListView;
+class SearchResultTileItemView;
class TileItemView;
// The start page for the experimental app list.
@@ -37,7 +39,10 @@ class APP_LIST_EXPORT StartPageView : public views::View,
void UpdateForTesting();
- const std::vector<TileItemView*>& tile_views() const { return tile_views_; }
+ const std::vector<SearchResultTileItemView*>& tile_views() const {
+ return search_result_tile_views_;
+ }
+ TileItemView* all_apps_button() const;
SearchBoxView* dummy_search_box_view() { return search_box_view_; }
// Overridden from views::View:
@@ -85,7 +90,8 @@ class APP_LIST_EXPORT StartPageView : public views::View,
views::View* instant_container_; // Owned by views hierarchy.
views::View* tiles_container_; // Owned by views hierarchy.
- std::vector<TileItemView*> tile_views_;
+ std::vector<SearchResultTileItemView*> search_result_tile_views_;
+ AllAppsTileItemView* all_apps_button_;
ShowState show_state_;
« no previous file with comments | « ui/app_list/views/search_result_tile_item_view.cc ('k') | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698