Make sure that PasswordGenerationPopupController is recreated if it's requested
for another frame.

Additionally the CL adds unit tests for the class and removes unnecessary
dependency on Autofill.

Bug: 954196
Change-Id: I239eadf6d94f96460cf4efa2499d144a797f9c67
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1605912
Reviewed-by: Ioana Pandele <ioanap@chromium.org>
Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662108}
6 files changed