Chromium Code Reviews| 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..ff5fddb95aeb26109ea5dbda28e59e706b531140 100644 |
| --- a/ui/app_list/views/tile_item_view.h |
| +++ b/ui/app_list/views/tile_item_view.h |
| @@ -59,6 +59,13 @@ class APP_LIST_EXPORT TileItemView : public views::CustomButton, |
| void ImageShadowAnimationProgressed(ImageShadowAnimator* animator) override; |
| protected: |
| + // Overridden from views::View: |
| + gfx::Size CalculatePreferredSize() const override; |
|
xiyuan
2017/06/21 18:24:00
nit: Move GetTooltipText() with this.
Qiang(Joe) Xu
2017/06/21 18:50:12
Done.
|
| + |
| + views::ImageView* icon() const { return icon_; } |
| + views::ImageView* badge() const { return badge_; } |
| + views::Label* title() const { return title_; } |
|
xiyuan
2017/06/21 18:24:00
nit: Move accessors after other methods in the sam
|
| + |
| void SetIcon(const gfx::ImageSkia& icon); |
| void SetBadgeIcon(const gfx::ImageSkia& badge_icon); |
| void SetTitle(const base::string16& title); |
| @@ -66,8 +73,6 @@ class APP_LIST_EXPORT TileItemView : public views::CustomButton, |
| private: |
| void UpdateBackgroundColor(); |
| - // Overridden from views::View: |
| - gfx::Size CalculatePreferredSize() const override; |
| bool GetTooltipText(const gfx::Point& p, |
| base::string16* tooltip) const override; |