| Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| index 50cd3a986ab1257130f7b3404d955bc32b1e59f2..8604d5609daa7fab7064bad6344e70462eff652c 100644
|
| --- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| +++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| @@ -494,6 +494,16 @@ void AutofillDialogViews::ModelChanged() {
|
| }
|
| }
|
|
|
| +void AutofillDialogViews::SubmitForTesting() {
|
| + if (Accept())
|
| + Hide();
|
| +}
|
| +
|
| +void AutofillDialogViews::CancelForTesting() {
|
| + if (Cancel())
|
| + Hide();
|
| +}
|
| +
|
| string16 AutofillDialogViews::GetWindowTitle() const {
|
| return controller_->DialogTitle();
|
| }
|
|
|