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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Addressed 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/start_page_view.h
diff --git a/ui/app_list/views/start_page_view.h b/ui/app_list/views/start_page_view.h
index 28f9c2e1771a0fee6ab114d19344fcb1441205b3..ef68aa0d0d012c4c244ba610c5734378b3a46f23 100644
--- a/ui/app_list/views/start_page_view.h
+++ b/ui/app_list/views/start_page_view.h
@@ -16,6 +16,7 @@
namespace app_list {
class AppListMainView;
+class AppListView;
class AppListViewDelegate;
class CustomLauncherPageBackgroundView;
class SearchResultTileItemView;
@@ -25,7 +26,8 @@ class TileItemView;
class APP_LIST_EXPORT StartPageView : public AppListPage {
public:
StartPageView(AppListMainView* app_list_main_view,
- AppListViewDelegate* view_delegate);
+ AppListViewDelegate* view_delegate,
+ AppListView* app_list_view);
~StartPageView() override;
void Reset();
@@ -50,11 +52,11 @@ class APP_LIST_EXPORT StartPageView : public AppListPage {
void OnGestureEvent(ui::GestureEvent* event) override;
void OnScrollEvent(ui::ScrollEvent* event) override;
-
private:
class StartPageTilesContainer;
void InitInstantContainer();
+
void MaybeOpenCustomLauncherPage();
void SetCustomLauncherPageSelected(bool selected);

Powered by Google App Engine
This is Rietveld 408576698