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

Unified Diff: chrome/browser/ui/app_list/app_list_view_delegate.cc

Issue 79773005: Update app list search box menu when Users changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add AppListViewDelegateObserver Created 7 years, 1 month 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: chrome/browser/ui/app_list/app_list_view_delegate.cc
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
index f637771fbfd9269f5b9cfa4b8c41a32599ae43b6..2c671c7efc4f7155c958ed0bc53a923770c0bfb4 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
@@ -139,6 +139,7 @@ void AppListViewDelegate::OnProfileChanged() {
// Populate the app list users.
PopulateUsers(g_browser_process->profile_manager()->GetProfileInfoCache(),
profile_->GetPath(), &users_);
+ NotifyUsersChanged();
}
bool AppListViewDelegate::ForceNativeDesktop() const {
@@ -313,8 +314,3 @@ content::WebContents* AppListViewDelegate::GetStartPageContents() {
return service->contents();
}
-
-const app_list::AppListViewDelegate::Users&
-AppListViewDelegate::GetUsers() const {
- return users_;
-}

Powered by Google App Engine
This is Rietveld 408576698