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

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: Fixed compilation errors in app list unit tests on mac 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
« no previous file with comments | « ash/shell/app_list.cc ('k') | ui/app_list/app_list_item_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1cf2b44cdc6f3cabd3ca262930ae39cad63124d4 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_);
+ SetTitleAndFullName(extension_name_, extension_name_);
UpdateIcon();
return;
}
- SetTitle(extension->name());
+ SetTitleAndFullName(extension->short_name(), extension->name());
LoadImage(extension);
}
« no previous file with comments | « ash/shell/app_list.cc ('k') | ui/app_list/app_list_item_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698