Index: chrome/browser/ui/views/autofill/autofill_dialog_views.h |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h |
index abc1c6363da63570db1a92af51cabe75e78681ab..dbdab484b48f84e5249c1f62e5bdb273d12d206e 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h |
@@ -34,6 +34,7 @@ class FocusManager; |
class ImageButton; |
class ImageView; |
class Label; |
+class Link; |
class MenuRunner; |
class TextButton; |
class Textfield; |
@@ -140,10 +141,10 @@ class AutofillDialogViews : public AutofillDialogView, |
DISALLOW_COPY_AND_ASSIGN(DecoratedTextfield); |
}; |
- // An area for notifications. Some types of notifications point at stuff. |
+ // An area for notifications. Some notifications point at the account chooser. |
class NotificationArea : public views::View { |
public: |
- NotificationArea(); |
+ explicit NotificationArea(views::View* arrow_centering_anchor); |
virtual ~NotificationArea(); |
void SetNotification(const DialogNotification& notification); |
@@ -154,6 +155,10 @@ class AutofillDialogViews : public AutofillDialogView, |
private: |
views::Label* label_; |
+ |
+ // If |notification_.HasArrow()| is true, the arrow should point at this. |
+ views::View* arrow_centering_anchor_; // weak. |
+ |
DialogNotification notification_; |
DISALLOW_COPY_AND_ASSIGN(NotificationArea); |
@@ -340,8 +345,8 @@ class AutofillDialogViews : public AutofillDialogView, |
// Runs the suggestion menu (triggered by each section's |suggested_button|. |
scoped_ptr<views::MenuRunner> menu_runner_; |
- // The link that initiates the sign in flow. |
- views::Link* sign_in_link_; |
+ // A link to allow choosing different accounts to pay with. |
+ views::Link* account_chooser_link_; |
// View to host the signin dialog and related controls. |
views::View* sign_in_container_; |