| Index: chrome/browser/ui/views/tabs/tab.h
|
| diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
|
| index 7b7bc644e81e50785ca15f69330a514f3126bb59..a14b226df8d3533cf7e83967a7e34edc3214a541 100644
|
| --- a/chrome/browser/ui/views/tabs/tab.h
|
| +++ b/chrome/browser/ui/views/tabs/tab.h
|
| @@ -19,7 +19,7 @@
|
| #include "ui/gfx/image/image_skia.h"
|
| #include "ui/gfx/paint_throbber.h"
|
| #include "ui/views/context_menu_controller.h"
|
| -#include "ui/views/controls/button/button.h"
|
| +#include "ui/views/controls/button/image_button.h"
|
| #include "ui/views/controls/glow_hover_controller.h"
|
| #include "ui/views/masked_targeter_delegate.h"
|
| #include "ui/views/view.h"
|
| @@ -34,7 +34,6 @@ class LinearAnimation;
|
| class ThrobAnimation;
|
| }
|
| namespace views {
|
| -class ImageButton;
|
| class Label;
|
| }
|
|
|
| @@ -44,7 +43,7 @@ class Label;
|
| //
|
| ///////////////////////////////////////////////////////////////////////////////
|
| class Tab : public gfx::AnimationDelegate,
|
| - public views::ButtonListener,
|
| + public views::ImageButtonDelegate,
|
| public views::ContextMenuController,
|
| public views::MaskedTargeterDelegate,
|
| public views::View {
|
| @@ -184,7 +183,7 @@ class Tab : public gfx::AnimationDelegate,
|
| void AnimationCanceled(const gfx::Animation* animation) override;
|
| void AnimationEnded(const gfx::Animation* animation) override;
|
|
|
| - // views::ButtonListener:
|
| + // views::ImageButtonDelegate:
|
| void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
|
|
| // views::ContextMenuController:
|
|
|