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

Unified Diff: ui/app_list/app_list_item_model.h

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: Addressed review comments 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 | « chrome/browser/ui/app_list/extension_app_item.cc ('k') | ui/app_list/app_list_item_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_item_model.h
diff --git a/ui/app_list/app_list_item_model.h b/ui/app_list/app_list_item_model.h
index 1fa806403304c71d27c160675734d0f9817874b5..8a96a6fd3a3f4b4bd33bd4aee30bdae024f1b39a 100644
--- a/ui/app_list/app_list_item_model.h
+++ b/ui/app_list/app_list_item_model.h
@@ -34,6 +34,9 @@ class APP_LIST_EXPORT AppListItemModel {
void SetTitle(const std::string& title);
tapted 2013/08/30 01:51:29 What do people think about changing this to void
tmdiep 2013/08/30 02:48:13 Agreed, I think this is a good idea.
const std::string& title() const { return title_; }
+ void SetFullName(const std::string& full_name);
+ const std::string& full_name() const { return full_name_; }
+
void SetHighlighted(bool highlighted);
bool highlighted() const { return highlighted_; }
@@ -58,6 +61,7 @@ class APP_LIST_EXPORT AppListItemModel {
gfx::ImageSkia icon_;
bool has_shadow_;
std::string title_;
+ std::string full_name_;
bool highlighted_;
bool is_installing_;
int percent_downloaded_;
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_item.cc ('k') | ui/app_list/app_list_item_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698