| Index: chrome/browser/ui/autofill/autofill_dialog_view.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_view.h b/chrome/browser/ui/autofill/autofill_dialog_view.h
|
| index 8dcea71d9bc4c607f4f3d1bc302c359a09922760..e01046a3af53cb3ed72ee6455df1d70c275a34eb 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_view.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_view.h
|
| @@ -63,6 +63,12 @@ class AutofillDialogView {
|
| // Called when the active suggestions data model changed.
|
| virtual void ModelChanged() = 0;
|
|
|
| + // Simulates the user pressing 'Submit' to accept the dialog.
|
| + virtual void SubmitForTesting() = 0;
|
| +
|
| + // Simulates the user pressing 'Cancel' to abort the dialog.
|
| + virtual void CancelForTesting() = 0;
|
| +
|
| // Factory function to create the dialog (implemented once per view
|
| // implementation). |controller| will own the created dialog.
|
| static AutofillDialogView* Create(AutofillDialogController* controller);
|
|
|