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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Addressed comments. 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 side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/contents_view.h
diff --git a/ui/app_list/views/contents_view.h b/ui/app_list/views/contents_view.h
index 62a52cd291e99b3f672c9a64bdda4dc0c155021d..7438ffcd75cc85400e3f6ab44a7fc701b09d3575 100644
--- a/ui/app_list/views/contents_view.h
+++ b/ui/app_list/views/contents_view.h
@@ -26,6 +26,7 @@ namespace app_list {
class AppsGridView;
class AppListPage;
+class AppListView;
class ApplicationDragAndDropHost;
class AppListFolderItem;
class AppListMainView;
@@ -44,7 +45,7 @@ class StartPageView;
class APP_LIST_EXPORT ContentsView : public views::View,
public PaginationModelObserver {
public:
- explicit ContentsView(AppListMainView* app_list_main_view);
+ ContentsView(AppListMainView* app_list_main_view, AppListView* app_list_view);
~ContentsView() override;
// Initialize the pages of the launcher. Should be called after
@@ -191,6 +192,9 @@ class APP_LIST_EXPORT ContentsView : public views::View,
// Parent view. Owned by the views hierarchy.
AppListMainView* app_list_main_view_;
+ // Owned by the views hierarchy.
msw 2017/06/06 17:56:32 nit: one space after //
newcomer 2017/06/06 23:26:29 Done.
+ AppListView* const app_list_view_;
+
// Maps State onto |view_model_| indices.
std::map<AppListModel::State, int> state_to_view_;

Powered by Google App Engine
This is Rietveld 408576698