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

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

Issue 2952303002: cros: add SUGGESTED APPS indicator to start page (Closed)
Patch Set: Created 3 years, 6 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 IndicatorChipView;
22 class SearchResultTileItemView; 23 class SearchResultTileItemView;
23 class TileItemView; 24 class TileItemView;
24 25
25 // The start page for the app list. 26 // The start page for the app list.
26 class APP_LIST_EXPORT StartPageView : public AppListPage { 27 class APP_LIST_EXPORT StartPageView : public AppListPage {
27 public: 28 public:
28 StartPageView(AppListMainView* app_list_main_view, 29 StartPageView(AppListMainView* app_list_main_view,
29 AppListViewDelegate* view_delegate, 30 AppListViewDelegate* view_delegate,
30 AppListView* app_list_view); 31 AppListView* app_list_view);
31 ~StartPageView() override; 32 ~StartPageView() override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 69
69 AppListViewDelegate* view_delegate_; // Owned by AppListView. 70 AppListViewDelegate* view_delegate_; // Owned by AppListView.
70 71
71 // An invisible placeholder view which fills the space for the search box view 72 // An invisible placeholder view which fills the space for the search box view
72 // in a box layout. The search box view itself is a child of the AppListView 73 // in a box layout. The search box view itself is a child of the AppListView
73 // (because it is visible on many different pages). 74 // (because it is visible on many different pages).
74 views::View* search_box_spacer_view_; // Owned by views hierarchy. 75 views::View* search_box_spacer_view_; // Owned by views hierarchy.
75 76
76 views::View* instant_container_; // Owned by views hierarchy. 77 views::View* instant_container_; // Owned by views hierarchy.
77 CustomLauncherPageBackgroundView* 78 CustomLauncherPageBackgroundView*
78 custom_launcher_page_background_; // Owned by view hierarchy. 79 custom_launcher_page_background_; // Owned by views hierarchy.
80 IndicatorChipView* indicator_; // Owned by views hierarchy.
79 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy. 81 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy.
Qiang(Joe) Xu 2017/06/22 21:46:49 We might want to move StartPageTilesContainer out
80 82
83 const bool is_fullscreen_app_list_enabled_;
84
81 DISALLOW_COPY_AND_ASSIGN(StartPageView); 85 DISALLOW_COPY_AND_ASSIGN(StartPageView);
82 }; 86 };
83 87
84 } // namespace app_list 88 } // namespace app_list
85 89
86 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 90 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698