diff options
author | dvadym <dvadym@chromium.org> | 2016-02-09 04:05:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 12:07:09 +0000 |
commit | 415215b775e107262794ed4e9c60f9474ded4d2c (patch) | |
tree | ce0a4d23d05f01b7282371a5c3ecb1c7774e915a /components/autofill/content/common | |
parent | ee2d13a54fc1de09762f1e5be97d6db44235fa80 (diff) | |
download | chromium_src-415215b775e107262794ed4e9c60f9474ded4d2c.zip chromium_src-415215b775e107262794ed4e9c60f9474ded4d2c.tar.gz chromium_src-415215b775e107262794ed4e9c60f9474ded4d2c.tar.bz2 |
Password generation from a context menu.
This CL adds to a password field context menu option "Generate password", clicking on this options show generation popup.
This features is behind "Enable manual password generation" flag. It's just temporary UI for manual generation, that's done for testing and experimenting purposes until final UI will be clarified.
BUG=582434
Review URL: https://codereview.chromium.org/1648923002
Cr-Commit-Position: refs/heads/master@{#374354}
Diffstat (limited to 'components/autofill/content/common')
-rw-r--r-- | components/autofill/content/common/autofill_messages.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h index f3977e5..74c32c5 100644 --- a/components/autofill/content/common/autofill_messages.h +++ b/components/autofill/content/common/autofill_messages.h @@ -189,6 +189,11 @@ IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, // |AutofillHostMsg_FocusedPasswordFormFound|. IPC_MESSAGE_ROUTED0(AutofillMsg_FindFocusedPasswordForm) +// Tells the renderer to find a focused element, and if it is a password field +// eligible for generation then to trigger generation by responding to the +// browser with the message |AutofillHostMsg_ShowPasswordGenerationPopup|. +IPC_MESSAGE_ROUTED0(AutofillMsg_GeneratePassword) + // Tells the renderer that this password form is not blacklisted. A form can // be blacklisted if a user chooses "never save passwords for this site". IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, |