Chromium Code Reviews| Index: ui/app_list/views/all_apps_tile_item_view.h | 
| diff --git a/ui/app_list/views/all_apps_tile_item_view.h b/ui/app_list/views/all_apps_tile_item_view.h | 
| index a3cf94b987fa92496763b91eccaf6935e0bdd60b..bf8706beb984e09a59b748aa646a4600e9f381ae 100644 | 
| --- a/ui/app_list/views/all_apps_tile_item_view.h | 
| +++ b/ui/app_list/views/all_apps_tile_item_view.h | 
| @@ -7,6 +7,7 @@ | 
| #include <vector> | 
| +#include "ui/app_list/views/app_list_view.h" | 
| 
 
xiyuan
2017/05/26 18:27:31
nit: move this to cc file and use forward decl her
 
newcomer
2017/05/26 23:20:21
Done.
 
 | 
| #include "ui/app_list/views/tile_item_view.h" | 
| namespace app_list { | 
| @@ -16,7 +17,8 @@ class ContentsView; | 
| // A tile item for the "All apps" button on the start page. | 
| class AllAppsTileItemView : public TileItemView { | 
| public: | 
| - explicit AllAppsTileItemView(ContentsView* contents_view); | 
| + explicit AllAppsTileItemView(ContentsView* contents_view, | 
| + AppListView* app_list_view); | 
| ~AllAppsTileItemView() override; | 
| @@ -27,6 +29,7 @@ class AllAppsTileItemView : public TileItemView { | 
| private: | 
| ContentsView* contents_view_; | 
| + AppListView* const app_list_view_; // Owned by the views hierarchy. | 
| DISALLOW_COPY_AND_ASSIGN(AllAppsTileItemView); | 
| }; |