Inject password_controller with WKWebView injection mechanism.
Now password_controller.js is injected by adding it to call of __gCrWeb.findPasswordForms(). It has performance drawbacks since __gCrWeb.findPasswordForms() could be called multiple times. This CL makes injection of password_controller.js with WKWebView injection. Also this CL updates the header comment in password_controller.js with up-to-date information. Bug: 828824, 418827 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I4036e3279e0c3a32301795b46630c49801679106 Reviewed-on: https://chromium-review.googlesource.com/995534 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#548496}
Showing
This diff is collapsed.
Please register or sign in to comment