OLD | NEW |
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 AllAppsTileItemView; | 18 class AllAppsTileItemView; |
19 class AppListMainView; | 19 class AppListMainView; |
20 class AppListViewDelegate; | 20 class AppListViewDelegate; |
21 class CustomLauncherPageBackgroundView; | 21 class CustomLauncherPageBackgroundView; |
22 class SearchResultTileItemView; | 22 class SearchResultTileItemView; |
23 class TileItemView; | 23 class TileItemView; |
24 | 24 |
25 // The start page for the experimental app list. | 25 // The start page for the app list. |
26 class APP_LIST_EXPORT StartPageView : public AppListPage { | 26 class APP_LIST_EXPORT StartPageView : public AppListPage { |
27 public: | 27 public: |
28 StartPageView(AppListMainView* app_list_main_view, | 28 StartPageView(AppListMainView* app_list_main_view, |
29 AppListViewDelegate* view_delegate); | 29 AppListViewDelegate* view_delegate); |
30 ~StartPageView() override; | 30 ~StartPageView() override; |
31 | 31 |
32 void Reset(); | 32 void Reset(); |
33 | 33 |
34 void UpdateForTesting(); | 34 void UpdateForTesting(); |
35 | 35 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 CustomLauncherPageBackgroundView* | 72 CustomLauncherPageBackgroundView* |
73 custom_launcher_page_background_; // Owned by view hierarchy. | 73 custom_launcher_page_background_; // Owned by view hierarchy. |
74 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy. | 74 StartPageTilesContainer* tiles_container_; // Owned by views hierarchy. |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(StartPageView); | 76 DISALLOW_COPY_AND_ASSIGN(StartPageView); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace app_list | 79 } // namespace app_list |
80 | 80 |
81 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ | 81 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ |
OLD | NEW |