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

Unified Diff: ui/app_list/views/app_list_main_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/app_list_main_view.h
diff --git a/ui/app_list/views/app_list_main_view.h b/ui/app_list/views/app_list_main_view.h
index 937a5dd271615da87d90a0c8d0c8fc3b35fd8a24..8f65fba7621a8c5c403a2712012552f684debb24 100644
--- a/ui/app_list/views/app_list_main_view.h
+++ b/ui/app_list/views/app_list_main_view.h
@@ -21,6 +21,7 @@ namespace app_list {
class AppListItem;
class AppListModel;
+class AppListView;
class AppListViewDelegate;
class ApplicationDragAndDropHost;
class ContentsView;
@@ -35,7 +36,8 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
public SearchBoxViewDelegate,
public SearchResultListViewDelegate {
public:
- explicit AppListMainView(AppListViewDelegate* delegate);
+ explicit AppListMainView(AppListViewDelegate* delegate,
msw 2017/06/06 17:56:31 nit: remove explicit
newcomer 2017/06/06 23:26:27 Done.
+ AppListView* app_list_view);
~AppListMainView() override;
void Init(gfx::NativeView parent,
@@ -99,6 +101,7 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
// Created by AppListView. Owned by views hierarchy.
SearchBoxView* search_box_view_;
ContentsView* contents_view_; // Owned by views hierarchy.
+ AppListView* const app_list_view_; // Owned by views hierarchy.
DISALLOW_COPY_AND_ASSIGN(AppListMainView);
};

Powered by Google App Engine
This is Rietveld 408576698