• stkhapugin@chromium.org's avatar
    Change relationship between BVC, Toolbar and Location Bar delegation. · 502ae847
    stkhapugin@chromium.org authored
    Before this CL, BVC is Toolbar's delegate, which is a
    LocationBarControllerImpl's delegate. We would like for the
    LocationBarCoordinator to own LBControllerImpl fully. For this, the
    LocationBarCoordinator needs to become its delegate. However, the
    delegate is mostly forwarding commands to BVC. So after this CL:
    
    1. BVC is the delegate for LBCoordinator.
    2. BVC calls Toolbar methods for Toolbar to react to events in LB.
    3. LocationBarCoordinator is delegate for LBControllerImpl.
    4. Remove old TODO and related ivar in BVC.
    
    Bug: 785253, 244366
    Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Change-Id: I7a735ed60a54c040437a91ff225f0c6c31e0e799
    Reviewed-on: https://chromium-review.googlesource.com/881165
    Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
    Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
    Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#531886}
    502ae847
browser_view_controller.mm 213 KB