Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4190)

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 12091086: [Autofill] Add UMA timing metrics for requestAutocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the test. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698