| Index: ash/frame/caption_buttons/frame_caption_button.h
|
| diff --git a/ash/frame/caption_buttons/frame_caption_button.h b/ash/frame/caption_buttons/frame_caption_button.h
|
| index d92afea9c6fc7ac6737c81f96f458f0d34f1b67b..9b80522e2f5ef92a75bc0e11a3a29166acdc2fe6 100644
|
| --- a/ash/frame/caption_buttons/frame_caption_button.h
|
| +++ b/ash/frame/caption_buttons/frame_caption_button.h
|
| @@ -47,7 +47,6 @@ class ASH_EXPORT FrameCaptionButton : public views::CustomButton {
|
| void SetAlpha(int alpha);
|
|
|
| // views::View overrides:
|
| - gfx::Size GetPreferredSize() const override;
|
| const char* GetClassName() const override;
|
| void OnPaint(gfx::Canvas* canvas) override;
|
|
|
| @@ -59,8 +58,6 @@ class ASH_EXPORT FrameCaptionButton : public views::CustomButton {
|
|
|
| CaptionButtonIcon icon() const { return icon_; }
|
|
|
| - void set_size(const gfx::Size& size) { size_ = size; }
|
| -
|
| protected:
|
| // views::CustomButton override:
|
| void OnGestureEvent(ui::GestureEvent* event) override;
|
| @@ -73,9 +70,6 @@ class ASH_EXPORT FrameCaptionButton : public views::CustomButton {
|
| // The button's current icon.
|
| CaptionButtonIcon icon_;
|
|
|
| - // The size of the button.
|
| - gfx::Size size_;
|
| -
|
| // Whether the button should be painted as active.
|
| bool paint_as_active_;
|
|
|
|
|