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() |