Chromium Code Reviews| 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..25c1a2c26c0ab8d25ba61a1721ba7a6ae846551d 100644 |
| --- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
| +++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
| @@ -464,6 +464,17 @@ void AutofillDialogViews::UpdateProgressBar(double value) { |
| autocheckout_progress_bar_->SetValue(value); |
| } |
| +void AutofillDialogViews::SubmitForTesting() { |
| + did_submit_ = true; |
| + Hide(); |
| +} |
| + |
| +void AutofillDialogViews::CancelForTesting() { |
| + did_submit_ = false; |
| + Hide(); |
| +} |
| + |
| + |
|
Evan Stade
2013/02/05 20:06:41
^H
Ilya Sherman
2013/02/06 00:02:25
Done.
|
| string16 AutofillDialogViews::GetWindowTitle() const { |
| return controller_->DialogTitle(); |
| } |