| Index: chrome/browser/ui/views/find_bar_view.h
|
| diff --git a/chrome/browser/ui/views/find_bar_view.h b/chrome/browser/ui/views/find_bar_view.h
|
| index 212f47416903c2fa9900e457e0c673fd03edf1b9..c9d96e7148cae1fc018f8dda6eda43b4d1bca389 100644
|
| --- a/chrome/browser/ui/views/find_bar_view.h
|
| +++ b/chrome/browser/ui/views/find_bar_view.h
|
| @@ -11,7 +11,7 @@
|
| #include "base/macros.h"
|
| #include "base/strings/string16.h"
|
| #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h"
|
| -#include "ui/views/controls/button/vector_icon_button_delegate.h"
|
| +#include "ui/views/controls/button/image_button.h"
|
| #include "ui/views/controls/textfield/textfield_controller.h"
|
| #include "ui/views/view.h"
|
| #include "ui/views/view_targeter_delegate.h"
|
| @@ -28,7 +28,6 @@ class Label;
|
| class Painter;
|
| class Separator;
|
| class Textfield;
|
| -class VectorIconButton;
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| @@ -40,7 +39,7 @@ class VectorIconButton;
|
| ////////////////////////////////////////////////////////////////////////////////
|
| class FindBarView : public views::View,
|
| public DropdownBarHostDelegate,
|
| - public views::VectorIconButtonDelegate,
|
| + public views::ImageButtonDelegate,
|
| public views::TextfieldController,
|
| public views::ViewTargeterDelegate {
|
| public:
|
| @@ -76,7 +75,7 @@ class FindBarView : public views::View,
|
|
|
| // views::VectorIconButtonDelegate:
|
| void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
| - SkColor GetVectorIconBaseColor() const override;
|
| + SkColor GetVectorIconColor() const override;
|
|
|
| // views::TextfieldController:
|
| bool HandleKeyEvent(views::Textfield* sender,
|
| @@ -94,6 +93,8 @@ class FindBarView : public views::View,
|
| // Updates the appearance for the match count label.
|
| void UpdateMatchCountAppearance(bool no_match);
|
|
|
| + views::ImageButton* CreateButton(const gfx::VectorIcon& icon);
|
| +
|
| // DropdownBarView:
|
| const char* GetClassName() const override;
|
| void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
|
| @@ -115,9 +116,9 @@ class FindBarView : public views::View,
|
| views::Label* match_count_text_;
|
| views::View* focus_forwarder_view_;
|
| views::Separator* separator_;
|
| - views::VectorIconButton* find_previous_button_;
|
| - views::VectorIconButton* find_next_button_;
|
| - views::VectorIconButton* close_button_;
|
| + views::ImageButton* find_previous_button_;
|
| + views::ImageButton* find_next_button_;
|
| + views::ImageButton* close_button_;
|
|
|
| // The preferred height of the find bar.
|
| int preferred_height_;
|
|
|