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

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

Issue 2339523004: Remove old (dead) app list code. (Closed)
Patch Set: Address nonbistytftatl review. Created 4 years, 3 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.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index d1cc5e7b828692078006312c4e94b8f4db512900..159545001b50b980a42d8a674ad0948ae9019b55 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -151,9 +151,7 @@ void AppListMainView::ShowAppListWhenReady() {
}
void AppListMainView::ResetForShow() {
- if (switches::IsExperimentalAppListEnabled())
- contents_view_->SetActiveState(AppListModel::STATE_START);
-
+ contents_view_->SetActiveState(AppListModel::STATE_START);
contents_view_->apps_container_view()->ResetForShowApps();
// We clear the search when hiding so when app list appears it is not showing
// search results.
@@ -182,10 +180,6 @@ void AppListMainView::SetDragAndDropHostOfCurrentAppList(
contents_view_->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host);
}
-bool AppListMainView::ShouldCenterWindow() const {
- return delegate_->ShouldCenterWindow();
-}
-
PaginationModel* AppListMainView::GetAppsPaginationModel() {
return contents_view_->apps_container_view()
->apps_grid_view()

Powered by Google App Engine
This is Rietveld 408576698