Index: chrome/browser/ui/views/autofill/save_card_icon_view.h |
diff --git a/chrome/browser/ui/views/autofill/save_card_icon_view.h b/chrome/browser/ui/views/autofill/save_card_icon_view.h |
index f591420faba5724cef50a760d4fb31e6b10aec4a..955819c840bcb4e217c9923546dc317d0637dae9 100644 |
--- a/chrome/browser/ui/views/autofill/save_card_icon_view.h |
+++ b/chrome/browser/ui/views/autofill/save_card_icon_view.h |
@@ -13,6 +13,8 @@ class CommandUpdater; |
namespace autofill { |
+class SaveCardBubbleControllerImpl; |
+ |
// The location bar icon to show the Save Credit Card bubble where the user can |
// choose to save the credit card info to use again later without re-entering |
// it. |
@@ -24,10 +26,13 @@ class SaveCardIconView : public BubbleIconView { |
protected: |
// BubbleIconView: |
void OnExecuting(BubbleIconView::ExecuteSource execute_source) override; |
+ bool OnMousePressed(const ui::MouseEvent& event) override; |
views::BubbleDelegateView* GetBubble() const override; |
gfx::VectorIconId GetVectorIcon() const override; |
private: |
+ SaveCardBubbleControllerImpl* GetController() const; |
+ |
// May be nullptr. |
Browser* browser_; |