• sczs's avatar
    [ios] Removes Layout() InfobarIOS method. · 6fbae555
    sczs authored
    Since the ContainerView size is now dependent on the InfobarView
    (The ContainerView autolayout constraints are anchored against the
    InfobarView, and we set the containerView to match the InfobarView height),
    there's no need to pass the ContainerView frame to layout the InfobarView.
    
    Because of this InfobarContainerVC no longer needs to import InfobarIOS
    and its moved to the infobars_ui BUILD.gn source_set.
    
    Bug: 892376
    Change-Id: I44ca8c470b0ededbd34fe2f1564c2d651f200317
    Reviewed-on: https://chromium-review.googlesource.com/c/1315987Reviewed-by: default avatarMark Cogan <marq@chromium.org>
    Commit-Queue: Sergio Collazos <sczs@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#606504}
    6fbae555
infobar.h 1.36 KB