Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 12225095: Interactive autofill: Adds footnote view to accept legal documents in the UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: closer? Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..36ce8219663149cf34aedfe5bc978fdd89037db1 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,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_;

Powered by Google App Engine
This is Rietveld 408576698