Index: ui/app_list/views/apps_container_view.h |
diff --git a/ui/app_list/views/apps_container_view.h b/ui/app_list/views/apps_container_view.h |
index 1c8a9131a6cb201aa5e0b44223f77cbeb6024297..1be5d3dd3a4413c1f9c1ebaa4fe5f79440cbf12e 100644 |
--- a/ui/app_list/views/apps_container_view.h |
+++ b/ui/app_list/views/apps_container_view.h |
@@ -43,6 +43,12 @@ class AppsContainerView : public views::View, |
// a folder view with |folder_item|. If |folder_item| is NULL skips animation. |
void ShowApps(AppListFolderItem* folder_item); |
+ // Resets the app list to a state where it shows the main grid view. This is |
+ // called when the user opens the launcher for the first time or when the user |
+ // hides and then shows it. This is necessary because we only hide and show |
+ // the launcher on Windows and Linux so we need to reset to a fresh state. |
+ void ResetForShowApps(); |
+ |
// Sets |drag_and_drop_host_| for the current app list in both |
// app_list_folder_view_ and root level apps_grid_view_. |
void SetDragAndDropHostOfCurrentAppList( |