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 5c5d64ba5357e11525fc3350173a36e5feb6c563..cf4da09848158283e386328b370f5abf2e40c326 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -464,6 +464,16 @@ void AutofillDialogViews::UpdateProgressBar(double value) { |
autocheckout_progress_bar_->SetValue(value); |
} |
+void AutofillDialogViews::SubmitForTesting() { |
Evan Stade
2013/02/06 00:29:32
seems like this should be:
if (Accept())
Hide()
Ilya Sherman
2013/02/06 00:41:34
Accept() fails because the inputs fail to validate
Ilya Sherman
2013/02/06 01:45:28
Done. Good call on override the AutofillDialogCon
|
+ did_submit_ = true; |
+ Hide(); |
+} |
+ |
+void AutofillDialogViews::CancelForTesting() { |
+ did_submit_ = false; |
+ Hide(); |
+} |
+ |
string16 AutofillDialogViews::GetWindowTitle() const { |
return controller_->DialogTitle(); |
} |