Reimplement finding form logic.
The previous implementation relied on autofill_agent finding forms, but it is only interested in address and credit card forms. Instead, we call the javascript function in CWVAutofillController to obtain all forms we care about. Also renamed delegate method from didFind to didScan since the former implies that at least one was found but in many cases there are 0. Bug: 905546 Change-Id: Ibb3144e767fe2257c20176d61315568cfde076cb Reviewed-on: https://chromium-review.googlesource.com/c/1339322 Commit-Queue: John Wu <jzw@chromium.org> Reviewed-by:Hiroshi Ichikawa <ichikawa@chromium.org> Cr-Commit-Position: refs/heads/master@{#609048}
Showing
Please register or sign in to comment