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

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: 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
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);
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_;

Powered by Google App Engine
This is Rietveld 408576698