| Index: chrome/browser/ui/views/infobars/infobar_view.h
|
| diff --git a/chrome/browser/ui/views/infobars/infobar_view.h b/chrome/browser/ui/views/infobars/infobar_view.h
|
| index 468648993344fa99d7f228506f02b049951129cb..23d6e21e9b6160e94128b704b4044734c95d06ec 100644
|
| --- a/chrome/browser/ui/views/infobars/infobar_view.h
|
| +++ b/chrome/browser/ui/views/infobars/infobar_view.h
|
| @@ -11,6 +11,7 @@
|
| #include "components/infobars/core/infobar_container.h"
|
| #include "third_party/skia/include/core/SkPath.h"
|
| #include "ui/views/controls/button/button.h"
|
| +#include "ui/views/controls/button/vector_icon_button_delegate.h"
|
| #include "ui/views/controls/menu/menu_types.h"
|
| #include "ui/views/focus/external_focus_tracker.h"
|
| #include "ui/views/view_targeter_delegate.h"
|
| @@ -33,7 +34,7 @@ class MenuRunner;
|
|
|
| class InfoBarView : public infobars::InfoBar,
|
| public views::View,
|
| - public views::ButtonListener,
|
| + public views::VectorIconButtonDelegate,
|
| public views::ExternalFocusTracker,
|
| public views::ViewTargeterDelegate {
|
| public:
|
| @@ -77,10 +78,11 @@ class InfoBarView : public infobars::InfoBar,
|
| void ViewHierarchyChanged(
|
| const ViewHierarchyChangedDetails& details) override;
|
|
|
| - // views::ButtonListener:
|
| + // views::VectorIconButtonDelegate:
|
| // NOTE: This must not be called if we're unowned. (Subclasses should ignore
|
| // calls to ButtonPressed() in this case.)
|
| void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
| + SkColor GetVectorIconBaseColor() const override;
|
|
|
| // Returns the minimum width the content (that is, everything between the icon
|
| // and the close button) can be shrunk to. This is used to prevent the close
|
|
|