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 43e8eba330beba77ac5751f807554627f7bc80b6..73eb949ddeb77af3bb963c1984cc7a2b1777ff32 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
@@ -154,7 +154,6 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate, |
virtual void NotificationCheckboxStateChanged(DialogNotification::Type type, |
bool checked) OVERRIDE; |
virtual void LegalDocumentLinkClicked(const ui::Range& range) OVERRIDE; |
- virtual void OverlayButtonPressed() OVERRIDE; |
virtual bool OnCancel() OVERRIDE; |
virtual bool OnAccept() OVERRIDE; |
virtual Profile* profile() OVERRIDE; |
@@ -282,6 +281,10 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate, |
scoped_ptr<CreditCard> new_card, |
scoped_ptr<AutofillProfile> billing_profile); |
+ // Called when there's nothing left to accept, update, save, or authenticate |
+ // in order to fill |form_structure_| and pass data back to the invoking page. |
+ void DoFinishSubmit(); |
+ |
private: |
// Whether or not the current request wants credit info back. |
bool RequestingCreditCardInfo() const; |
@@ -483,8 +486,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate, |
// Whether submission is currently waiting for |action| to be handled. |
bool IsSubmitPausedOn(wallet::RequiredAction action) const; |
- // Called when there's nothing left to accept, update, save, or authenticate |
- // in order to fill |form_structure_| and pass data back to the invoking page. |
+ // Shows a card generation overlay if necessary, then calls DoFinishSubmit. |
void FinishSubmit(); |
// Writes to prefs the choice of AutofillDataModel for |section|. |