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

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

Issue 133893004: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/core/common/autofill_messages.h
diff --git a/components/autofill/core/common/autofill_messages.h b/components/autofill/core/common/autofill_messages.h
index b0b1548d52a88ddee72c88a4f324d5583ac14b7b..c3ecba04bed6159fc758b0b9af412d6a86d14fc1 100644
--- a/components/autofill/core/common/autofill_messages.h
+++ b/components/autofill/core/common/autofill_messages.h
@@ -199,10 +199,11 @@ IPC_MESSAGE_ROUTED3(AutofillHostMsg_TextFieldDidChange,
base::TimeTicks /* timestamp */)
// Queries the browser for Autofill suggestions for a form input field.
-IPC_MESSAGE_ROUTED5(AutofillHostMsg_QueryFormFieldAutofill,
+IPC_MESSAGE_ROUTED6(AutofillHostMsg_QueryFormFieldAutofill,
int /* id of this message */,
autofill::FormData /* the form */,
autofill::FormFieldData /* the form field */,
+ blink::WebFormElement /* the web form element */,
gfx::RectF /* input field bounds, window-relative */,
bool /* display warning if autofill disabled */)
@@ -250,12 +251,17 @@ IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
// Instruct the browser to show a popup with the following suggestions from the
// password manager.
-IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
+IPC_MESSAGE_ROUTED5(AutofillHostMsg_ShowPasswordSuggestions,
autofill::FormFieldData /* the form field */,
+ blink::WebFormElement /* the web form element */,
gfx::RectF /* input field bounds, window-relative */,
std::vector<base::string16> /* suggestions */,
std::vector<base::string16> /* realms */)
+// Instruct the browser that a password mapping has to be removed.
+IPC_MESSAGE_ROUTED1(AutofillHostMsg_RemovePasswordSuggestion,
+ blink::WebFormElement /* the user name field */)
+
// Inform browser of data list values for the curent field.
IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
std::vector<base::string16> /* values */,

Powered by Google App Engine
This is Rietveld 408576698