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

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: 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 | « no previous file | ui/app_list/app_list_item_model.h » ('j') | ui/app_list/test/app_list_test_model.h » ('J')
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..958a77a98931e71ea670f2f60b68f671f220e514 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -103,10 +103,12 @@ void ExtensionAppItem::Reload() {
set_app_id(extension_id_);
if (is_installing) {
SetTitle(extension_name_);
benwells 2013/08/29 09:14:15 This will be the full name. Are you planning on fi
tmdiep 2013/08/30 02:48:13 Does this need to be handled? I see that when the
+ SetFullName(extension_name_);
UpdateIcon();
return;
}
- SetTitle(extension->name());
+ SetTitle(extension->short_name());
+ SetFullName(extension->name());
LoadImage(extension);
}
« no previous file with comments | « no previous file | ui/app_list/app_list_item_model.h » ('j') | ui/app_list/test/app_list_test_model.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698