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

Unified Diff: ui/app_list/app_list_model.cc

Issue 297643002: Add tiles to the experimental app list start page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac test Created 6 years, 7 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
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/app_list_model_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_model.cc
diff --git a/ui/app_list/app_list_model.cc b/ui/app_list/app_list_model.cc
index f72d73f510bc6aee168995061faa4d7719e483ed..a403702a11ac4b1c8673d5c98121f00ad096fbf9 100644
--- a/ui/app_list/app_list_model.cc
+++ b/ui/app_list/app_list_model.cc
@@ -234,6 +234,7 @@ void AppListModel::DeleteItem(const std::string& id) {
observers_,
OnAppListItemWillBeDeleted(item));
top_level_item_list_->DeleteItem(id);
+ FOR_EACH_OBSERVER(AppListModelObserver, observers_, OnAppListItemDeleted());
return;
}
AppListFolderItem* folder = FindFolderItem(item->folder_id());
@@ -244,6 +245,7 @@ void AppListModel::DeleteItem(const std::string& id) {
observers_,
OnAppListItemWillBeDeleted(item));
child_item.reset(); // Deletes item.
+ FOR_EACH_OBSERVER(AppListModelObserver, observers_, OnAppListItemDeleted());
}
void AppListModel::NotifyExtensionPreferenceChanged() {
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/app_list_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698