Index: ui/app_list/views/tile_item_view.h |
diff --git a/ui/app_list/views/tile_item_view.h b/ui/app_list/views/tile_item_view.h |
index 62e1c2ef35d9f3458704a2c6f900dba47ed9f788..abe9cd18c2269101370e5c8fe689601f2f56e5ed 100644 |
--- a/ui/app_list/views/tile_item_view.h |
+++ b/ui/app_list/views/tile_item_view.h |
@@ -63,6 +63,10 @@ class APP_LIST_EXPORT TileItemView : public views::CustomButton, |
void SetBadgeIcon(const gfx::ImageSkia& badge_icon); |
void SetTitle(const base::string16& title); |
+ void SetPrice(const base::string16& title); |
+ |
xiyuan
2017/06/20 22:19:23
nit: strip empty lines and put the new method in t
weidongg
2017/06/22 00:59:16
Done.
|
+ void SetRating(const base::string16& rating); |
+ |
private: |
void UpdateBackgroundColor(); |
@@ -77,9 +81,14 @@ class APP_LIST_EXPORT TileItemView : public views::CustomButton, |
views::ImageView* icon_; // Owned by views hierarchy. |
views::ImageView* badge_; // Owned by views hierarchy. |
views::Label* title_; // Owned by views hierarchy. |
+ views::Label* price_; // Owned by views hierarchy. |
+ views::Label* rating_; // Owned by views hierarchy. |
bool selected_ = false; |
+ // True if the fullscreen app list feature is enabled. |
+ const bool is_fullscreen_app_list_enabled_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TileItemView); |
}; |