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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.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: . 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/autofill/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 7f4e6f7336459271ee2e5c4b759198fb9a740505..8fdc018dda8a3866307cfc93a1a6ce0f4a3bee9f 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -30,6 +30,7 @@
class AutofillPopupControllerImpl;
class FormGroup;
+class GURL;
class Profile;
namespace content {
@@ -70,7 +71,10 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
virtual string16 SaveLocallyText() const OVERRIDE;
virtual string16 CancelSignInText() const OVERRIDE;
virtual string16 ProgressBarText() const OVERRIDE;
+ virtual std::pair<std::vector<string16>, string16>
+ FootnoteTextParts() const OVERRIDE;
virtual DialogSignedInState SignedInState() const OVERRIDE;
+ virtual bool IsFootnoteShowing() const OVERRIDE;
virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
const OVERRIDE;
virtual ui::ComboboxModel* ComboboxModelForAutofillType(
@@ -91,12 +95,14 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
virtual bool HandleKeyPressEventInInput(
const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual void FocusMoved() OVERRIDE;
- virtual void ViewClosed(DialogAction action) OVERRIDE;
virtual DialogNotification CurrentNotification() const OVERRIDE;
virtual void StartSignInFlow() OVERRIDE;
virtual void EndSignInFlow() OVERRIDE;
+ virtual void ShowTermsOfService() OVERRIDE;
+ virtual void ShowPrivacyPolicy() OVERRIDE;
virtual Profile* profile() OVERRIDE;
virtual content::WebContents* web_contents() OVERRIDE;
+ virtual void ViewClosed(DialogAction action) OVERRIDE;
// AutofillPopupDelegate implementation.
virtual void OnPopupShown(content::KeyboardListener* listener) OVERRIDE;
@@ -209,6 +215,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// Hides |popup_controller_|'s popup view, if it exists.
void HidePopup();
+ void OpenInNewTab(const GURL& url);
+
// The |profile| for |contents_|.
Profile* const profile_;

Powered by Google App Engine
This is Rietveld 408576698