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

Unified Diff: components/autofill/content/common/autofill_messages.h

Issue 148413002: Add "previewing on hover" support for single-field autocomplete input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and update code as per Ilya's comments Created 6 years, 9 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: components/autofill/content/common/autofill_messages.h
diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h
index d97dbf1e25641be03a7a002d7cee4dedca4a0784..4bdf63c374de675b78118397b53d6dc0daadb5d6 100644
--- a/components/autofill/content/common/autofill_messages.h
+++ b/components/autofill/content/common/autofill_messages.h
@@ -122,8 +122,12 @@ IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm)
IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
// Sets the currently selected node's value.
-IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
- base::string16 /* new node text */)
+IPC_MESSAGE_ROUTED1(AutofillMsg_FillFieldWithValue,
+ base::string16 /* value */)
+
+// Sets the suggested value for the currently previewed node.
+IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewFieldWithValue,
+ base::string16 /* value */)
// Sets the currently selected node's value to be the given data list value.
IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,

Powered by Google App Engine
This is Rietveld 408576698