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

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

Issue 23709003: Display an app's short name in the app launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set both title and full name together in AppListItemModel Created 7 years, 4 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: chrome/browser/ui/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index 66137ebdf65f2f9d50a7898fb9ae91d2e8ee65aa..126cda465899779f9c7bb639764ab981069f9ac9 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -102,11 +102,11 @@ void ExtensionAppItem::Reload() {
SetIsInstalling(is_installing);
set_app_id(extension_id_);
if (is_installing) {
- SetTitle(extension_name_);
+ SetName(extension_name_, extension_name_);
UpdateIcon();
return;
}
- SetTitle(extension->name());
+ SetName(extension->short_name(), extension->name());
LoadImage(extension);
}

Powered by Google App Engine
This is Rietveld 408576698