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

Unified Diff: chrome/common/autofill_messages.h

Issue 11348273: [autofill] Fill in values on a successful run of interactive autocomplete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/common/autofill_messages.h
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h
index b60c868fbf00cb59a43da3bd64c7c386d6635ef2..692083bd6818c36d0530ce9697146f87304091da 100644
--- a/chrome/common/autofill_messages.h
+++ b/chrome/common/autofill_messages.h
@@ -134,9 +134,12 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
content::PasswordForm /* form checked */)
-// Sent when interactive autocomplete finishes.
-IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteFinished,
- WebKit::WebFormElement::AutocompleteResult /* result */)
+// Sent when interactive autocomplete succeeds. Changes the original form.
Ilya Sherman 2012/11/28 06:16:39 nit: I'm not sure I follow what "Changes the origi
Dan Beam 2012/11/28 19:59:10 Done. (how about now?)
Ilya Sherman 2012/11/29 00:08:59 This is clearer, thanks. It's still a little weir
Dan Beam 2012/11/29 00:51:13 Done.
+IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess,
+ FormData /* form_data */)
+
+// Sent when interactive autocomplete fails for any number of reasons.
+IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError);
Ilya Sherman 2012/11/28 06:16:39 nit: The comment makes me want to see the failure
Dan Beam 2012/11/28 19:59:10 We currently don't have a failure reason enum or a
Ilya Sherman 2012/11/29 00:08:59 IMO this would be clearer either if you pass an en
Dan Beam 2012/11/29 00:51:13 This is only failing for 1 reason right now, so ju
// Autofill messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698