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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: adressed comments. Created 3 years, 7 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698