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

Unified Diff: ash/shell/app_list.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 | « no previous file | chrome/browser/ui/app_list/extension_app_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/app_list.cc
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index 498de37848faadd64a7adaae4523c5d80ce3a265..14974588cf8342d879caf72f53d1fd653d6a1654 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -45,8 +45,9 @@ class WindowTypeLauncherItem : public app_list::AppListItemModel {
};
explicit WindowTypeLauncherItem(Type type) : type_(type) {
+ std::string title(GetTitle(type));
SetIcon(GetIcon(type), false);
- SetTitle(GetTitle(type));
+ SetTitleAndFullName(title, title);
}
static gfx::ImageSkia GetIcon(Type type) {
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/extension_app_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698