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

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

Issue 913133007: Allow scroll events to open custom launcher pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add tap Created 5 years, 10 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 971bb8354d1f2088a9d64f653fd9279bc3f56518..be70a96d5744d0fe461945c62c2bedcd954aa1c6 100644
--- a/ui/app_list/views/app_list_main_view.h
+++ b/ui/app_list/views/app_list_main_view.h
@@ -58,11 +58,6 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
SearchBoxView* search_box_view() const { return search_box_view_; }
- // Gets the invisible widget that sits partly over the bottom of the app list,
- // covering the collapsed-state custom page. May return nullptr, if the widget
- // has not been initialized or has already been destroyed.
- views::Widget* GetCustomPageClickzone() const;
-
// If |drag_and_drop_host| is not NULL it will be called upon drag and drop
// operations outside the application list.
void SetDragAndDropHostOfCurrentAppList(
@@ -78,9 +73,6 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
// Called when the search box's visibility is changed.
void NotifySearchBoxVisibilityChanged();
- // Initialize widgets that live inside the app list's main widget.
- void InitWidgets();
-
// Overridden from AppListModelObserver:
void OnCustomLauncherPageEnabledStateChanged(bool enabled) override;
@@ -124,11 +116,6 @@ class APP_LIST_EXPORT AppListMainView : public views::View,
SearchBoxView* search_box_view_;
ContentsView* contents_view_; // Owned by views hierarchy.
- // Invisible widget that sits partly over the bottom of the app list, covering
- // the collapsed-state custom page, and intercepts click events. Always use
- // GetCustomPageClickzone() to access this (do not access it directly).
- views::Widget* custom_page_clickzone_; // Owned by the app list widget.
-
// A timer that fires when maximum allowed time to wait for icon loading has
// passed.
base::OneShotTimer<AppListMainView> icon_loading_wait_timer_;

Powered by Google App Engine
This is Rietveld 408576698