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

Side by Side Diff: ui/app_list/views/start_page_view.h

Issue 2959943003: Replace AllAppsTileItemView with ArrowExpandView (Closed)
Patch Set: Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "ui/app_list/app_list_export.h" 13 #include "ui/app_list/app_list_export.h"
14 #include "ui/app_list/views/app_list_page.h" 14 #include "ui/app_list/views/app_list_page.h"
15 15
16 namespace app_list { 16 namespace app_list {
17 17
18 class AppListMainView; 18 class AppListMainView;
19 class AppListView; 19 class AppListView;
20 class AppListViewDelegate; 20 class AppListViewDelegate;
21 class CustomLauncherPageBackgroundView; 21 class CustomLauncherPageBackgroundView;
22 class ExpandArrowView;
22 class IndicatorChipView; 23 class IndicatorChipView;
23 class SearchResultTileItemView; 24 class SearchResultTileItemView;
24 class TileItemView; 25 class TileItemView;
25 26
26 // The start page for the app list. 27 // The start page for the app list.
27 class APP_LIST_EXPORT StartPageView : public AppListPage { 28 class APP_LIST_EXPORT StartPageView : public AppListPage {
28 public: 29 public:
29 StartPageView(AppListMainView* app_list_main_view, 30 StartPageView(AppListMainView* app_list_main_view,
30 AppListViewDelegate* view_delegate, 31 AppListViewDelegate* view_delegate,
31 AppListView* app_list_view); 32 AppListView* app_list_view);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // An invisible placeholder view which fills the space for the search box view 73 // An invisible placeholder view which fills the space for the search box view
73 // in a box layout. The search box view itself is a child of the AppListView 74 // in a box layout. The search box view itself is a child of the AppListView
74 // (because it is visible on many different pages). 75 // (because it is visible on many different pages).
75 views::View* search_box_spacer_view_; // Owned by views hierarchy. 76 views::View* search_box_spacer_view_; // Owned by views hierarchy.
76 77
77 views::View* instant_container_; // Owned by views hierarchy. 78 views::View* instant_container_; // Owned by views hierarchy.
78 CustomLauncherPageBackgroundView* 79 CustomLauncherPageBackgroundView*
79 custom_launcher_page_background_; // Owned by views hierarchy. 80 custom_launcher_page_background_; // Owned by views hierarchy.
80 IndicatorChipView* indicator_ = nullptr; // Owned by views hierarchy. 81 IndicatorChipView* indicator_ = nullptr; // Owned by views hierarchy.
81 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy. 82 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy.
83 ExpandArrowView* expand_arrow_view_ = nullptr; // Owned by views hierarchy.
82 84
83 const bool is_fullscreen_app_list_enabled_; 85 const bool is_fullscreen_app_list_enabled_;
84 86
85 DISALLOW_COPY_AND_ASSIGN(StartPageView); 87 DISALLOW_COPY_AND_ASSIGN(StartPageView);
86 }; 88 };
87 89
88 } // namespace app_list 90 } // namespace app_list
89 91
90 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 92 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698