| Index: chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h
|
| diff --git a/chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h b/chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h
|
| index 9d8e8f18cb8de258a7a8ada8c127fc1f70a3f618..eca059f47787d3279d285f09dcbf9ad4666738c1 100644
|
| --- a/chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h
|
| +++ b/chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/ui/autofill/autofill_credit_card_bubble.h"
|
| #include "ui/views/bubble/bubble_delegate.h"
|
| #include "ui/views/controls/link_listener.h"
|
| +#include "ui/views/controls/styled_label_listener.h"
|
|
|
| namespace autofill {
|
|
|
| @@ -20,7 +21,8 @@ class AutofillCreditCardBubbleController;
|
| // bubble shown after a successful submission of the Autofill dialog).
|
| class AutofillCreditCardBubbleViews : public AutofillCreditCardBubble,
|
| public views::BubbleDelegateView,
|
| - public views::LinkListener {
|
| + public views::LinkListener,
|
| + public views::StyledLabelListener {
|
| public:
|
| virtual ~AutofillCreditCardBubbleViews();
|
|
|
| @@ -30,13 +32,17 @@ class AutofillCreditCardBubbleViews : public AutofillCreditCardBubble,
|
| virtual bool IsHiding() const OVERRIDE;
|
|
|
| // views::BubbleDelegateView:
|
| - virtual string16 GetWindowTitle() const OVERRIDE;
|
| + virtual base::string16 GetWindowTitle() const OVERRIDE;
|
| virtual void Init() OVERRIDE;
|
| virtual gfx::Size GetPreferredSize() OVERRIDE;
|
|
|
| // views::LinkListener:
|
| virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
|
|
|
| + // views::StyledLabelListener:
|
| + virtual void StyledLabelLinkClicked(const ui::Range& range, int event_flags)
|
| + OVERRIDE;
|
| +
|
| private:
|
| friend base::WeakPtr<AutofillCreditCardBubble>
|
| AutofillCreditCardBubble::Create(
|
|
|