Chromium Code Reviews| Index: ui/app_list/app_list_model.h |
| diff --git a/ui/app_list/app_list_model.h b/ui/app_list/app_list_model.h |
| index 6c61e71d68ebbed73c6a0c9c23dd195ef2ad5cdf..c37cccccebc68f3c96616e7b3243b67c9a0a539e 100644 |
| --- a/ui/app_list/app_list_model.h |
| +++ b/ui/app_list/app_list_model.h |
| @@ -107,6 +107,10 @@ class APP_LIST_EXPORT AppListModel : public AppListItemListObserver { |
| const std::string& folder_id, |
| syncer::StringOrdinal position); |
| + // Wrapper around DeleteItem() which will also clean up if its parent folder |
| + // has a single child left. |
| + void DeleteUninstalledItem(const std::string& id); |
|
stevenjb
2015/03/25 22:24:01
nit: Move this below DeleteItem here and in the .c
Greg Levin
2015/03/26 19:45:11
Done.
|
| + |
| // Sets the position of |item| either in |top_level_item_list_| or the folder |
| // specified by |item|->folder_id(). If |new_position| is invalid, move the |
| // item to the end of the list. |