• John Z Wu's avatar
    Reimplement finding form logic. · aef87c58
    John Z Wu authored
    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: default avatarHiroshi Ichikawa <ichikawa@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609048}
    aef87c58
cwv_autofill_controller_delegate.h 5.86 KB