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

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: 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 | « 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..e9675a83ee1d0aaf10daa8fa5e0945351931048f 100644
--- a/ui/app_list/app_list_item_model.h
+++ b/ui/app_list/app_list_item_model.h
@@ -31,8 +31,10 @@ class APP_LIST_EXPORT AppListItemModel {
const gfx::ImageSkia& icon() const { return icon_; }
bool has_shadow() const { return has_shadow_; }
- void SetTitle(const std::string& title);
+ void SetTitleAndFullName(const std::string& title,
+ const std::string& full_name);
const std::string& title() const { return title_; }
+ const std::string& full_name() const { return full_name_; }
void SetHighlighted(bool highlighted);
bool highlighted() const { return highlighted_; }
@@ -58,6 +60,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