Chromium Code Reviews| Index: chrome/browser/ui/views/bar_control_button.h |
| diff --git a/chrome/browser/ui/views/bar_control_button.h b/chrome/browser/ui/views/bar_control_button.h |
| index f3d045576308221926e50e9f46507e9e568e02d5..0be367c6b5b9a5cd6757897ddbf3e8c0a46fb6e0 100644 |
| --- a/chrome/browser/ui/views/bar_control_button.h |
| +++ b/chrome/browser/ui/views/bar_control_button.h |
| @@ -8,7 +8,6 @@ |
| #include "base/callback.h" |
| #include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| -#include "ui/views/animation/ink_drop_host.h" |
| #include "ui/views/controls/button/image_button.h" |
| namespace gfx { |
| @@ -21,7 +20,7 @@ class InkDropDelegate; |
| // A class for buttons that control bars (find bar, download shelf, etc.). The |
| // button has an image and no text. |
| -class BarControlButton : public views::ImageButton, public views::InkDropHost { |
| +class BarControlButton : public views::ImageButton { |
|
Peter Kasting
2015/12/28 13:44:33
Does it still make sense to have this subclass of
bruthig
2015/12/28 17:36:16
Adding estade@ for additional input.
I agree it w
bruthig
2015/12/28 18:35:40
pkasting@, is this something we can at least defer
Peter Kasting
2015/12/28 18:38:01
Yes, in fact I would prefer any changes along thes
Evan Stade
2015/12/29 19:20:36
This class was introduced before it was an inkdrop
|
| public: |
| explicit BarControlButton(views::ButtonListener* listener); |
| ~BarControlButton() override; |
| @@ -37,10 +36,9 @@ class BarControlButton : public views::ImageButton, public views::InkDropHost { |
| bool OnMousePressed(const ui::MouseEvent& event) override; |
| private: |
| - // views::InkDropHost: |
| + // views::ImageButton: |
| void AddInkDropLayer(ui::Layer* ink_drop_layer) override; |
| void RemoveInkDropLayer(ui::Layer* ink_drop_layer) override; |
| - gfx::Point CalculateInkDropCenter() const override; |
| gfx::VectorIconId id_; |
| base::Callback<SkColor(void)> get_text_color_callback_; |