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

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: deletion is working Created 6 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: 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..8029221f5d0656cd8083ca54a91637e1b5d42de2 100644
--- a/components/autofill/core/common/autofill_messages.h
+++ b/components/autofill/core/common/autofill_messages.h
@@ -161,6 +161,10 @@ IPC_MESSAGE_ROUTED0(AutofillMsg_PageShown)
IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected,
std::vector<autofill::FormData> /* forms */)
+// Instruct the renderer that a password mapping has to be removed.
+IPC_MESSAGE_ROUTED1(AutofillMsg_RemovePasswordSuggestion,
+ autofill::PasswordForm /* the password form */)
+
// Autofill messages sent from the renderer to the browser.
// TODO(creis): check in the browser that the renderer actually has permission
@@ -250,12 +254,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 */,
+ autofill::PasswordForm /* the password form */,
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,
+ autofill::PasswordForm /* the password form */)
+
// 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