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..e7f674b3bb7f07aa6546d5c52d1d6f2a5d62e428 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h |
@@ -75,6 +75,7 @@ class AutofillDialogViews : public AutofillDialogView, |
virtual const content::NavigationController& ShowSignIn() OVERRIDE; |
virtual void HideSignIn() OVERRIDE; |
virtual void UpdateProgressBar(double value) OVERRIDE; |
+ virtual void UpdateFootnote() OVERRIDE; |
// views::DialogDelegate implementation: |
virtual string16 GetWindowTitle() const OVERRIDE; |
@@ -270,11 +271,17 @@ class AutofillDialogViews : public AutofillDialogView, |
// Creates and returns a view that holds the requesting host and intro text. |
views::View* CreateNotificationArea(); |
+ // Creates and returns a view that holds the main controls of this dialog. |
+ views::View* CreateMainContainer(); |
+ |
// Creates and returns a view that holds a sign in page and related controls. |
views::View* CreateSignInContainer(); |
- // Creates and returns a view that holds the main controls of this dialog. |
- views::View* CreateMainContainer(); |
+ // Creates footnote container. |
+ void CreateFootnoteView(); |
+ |
+ // [Re-]populates footnote links based on the controller's link text parts. |
+ void PopulateFootnoteLinks(); |
// Creates a detail section (Shipping, Email, etc.) with the given label, |
// inputs View, and suggestion model. Relevant pointers are stored in |group|. |
@@ -370,6 +377,13 @@ class AutofillDialogViews : public AutofillDialogView, |
// Progress bar for displaying Autocheckout progress. |
AutocheckoutProgressBar* autocheckout_progress_bar_; |
+ // View shown when accepting of a new Terms of Service is required. Lives |
+ // below the Cancel/Submit buttons. |
+ views::View* footnote_view_; |
+ |
+ views::Link* terms_of_service_link_; |
+ views::Link* privacy_policy_link_; |
+ |
// The focus manager for |window_|. |
views::FocusManager* focus_manager_; |