| 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..a62d6f07267ebcafcd8b62291ee5300298e03f0c 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|.
|
| @@ -314,6 +321,10 @@ class AutofillDialogViews : public AutofillDialogView,
|
| // the input.
|
| void TextfieldEditedOrActivated(views::Textfield* textfield, bool was_edit);
|
|
|
| + // When something inside of |contents_| could've changed in height, call this
|
| + // to ensure |contents_|' preferred size is correct.
|
| + void ContentsResized();
|
| +
|
| // The controller that drives this view. Weak pointer, always non-NULL.
|
| AutofillDialogController* const controller_;
|
|
|
| @@ -370,6 +381,10 @@ 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_;
|
| +
|
| // The focus manager for |window_|.
|
| views::FocusManager* focus_manager_;
|
|
|
|
|