| Index: chrome/browser/ui/views/passwords/credentials_item_view.h
|
| diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.h b/chrome/browser/ui/views/passwords/credentials_item_view.h
|
| index f11287c219b8054db8bc7d1874278fe8d859e9a7..1073c37b39a17e11cee42123bb8cd6979dea152e 100644
|
| --- a/chrome/browser/ui/views/passwords/credentials_item_view.h
|
| +++ b/chrome/browser/ui/views/passwords/credentials_item_view.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/ui/passwords/account_avatar_fetcher.h"
|
| #include "ui/views/controls/button/label_button.h"
|
| +#include "ui/views/controls/button/vector_icon_button_delegate.h"
|
|
|
| namespace autofill {
|
| struct PasswordForm;
|
| @@ -25,11 +26,13 @@ class URLRequestContextGetter;
|
| namespace views {
|
| class ImageView;
|
| class Label;
|
| +class VectorIconButton;
|
| }
|
|
|
| // CredentialsItemView represents a credential view in the account chooser
|
| // bubble.
|
| class CredentialsItemView : public AccountAvatarFetcherDelegate,
|
| + public views::VectorIconButtonDelegate,
|
| public views::LabelButton {
|
| public:
|
| CredentialsItemView(views::ButtonListener* button_listener,
|
| @@ -57,11 +60,16 @@ class CredentialsItemView : public AccountAvatarFetcherDelegate,
|
| void Layout() override;
|
| void OnPaint(gfx::Canvas* canvas) override;
|
|
|
| + // VectorIconButtonDelegate:
|
| + void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
| + SkColor GetVectorIconBaseColor() const override;
|
| +
|
| const autofill::PasswordForm* form_;
|
|
|
| views::ImageView* image_view_;
|
| views::Label* upper_label_;
|
| views::Label* lower_label_;
|
| + views::VectorIconButton* info_button_;
|
|
|
| SkColor hover_color_;
|
|
|
|
|