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

Unified Diff: ui/app_list/app_list_model_observer.h

Issue 1003393002: After uninstall, remove last item in Launcher folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/app_list_model_observer.h
diff --git a/ui/app_list/app_list_model_observer.h b/ui/app_list/app_list_model_observer.h
index 09cccc0e75531c8daf4925962e3677f114af5a5b..1fb17f4bed2f35172c89e9f1cc847a88fe911285 100644
--- a/ui/app_list/app_list_model_observer.h
+++ b/ui/app_list/app_list_model_observer.h
@@ -30,6 +30,9 @@ class APP_LIST_EXPORT AppListModelObserver {
// Triggered just after an item is deleted from the model.
virtual void OnAppListItemDeleted() {}
+ // Triggered just after an item is uninstalled & deleted to clean up parent.
jennyz 2015/03/17 21:16:48 parent -> |parent|.
Greg Levin 2015/03/23 22:04:50 Since arg is now parent_id, I'm going to go with "
+ virtual void OnAppListChildItemUninstalled(AppListFolderItem* parent) {}
stevenjb 2015/03/23 19:34:30 This is actually problematic. Currently we only ha
Greg Levin 2015/03/23 22:04:50 Done.
+
// Triggered after |item| has moved, changed folders, or changed properties.
virtual void OnAppListItemUpdated(AppListItem* item) {}

Powered by Google App Engine
This is Rietveld 408576698