• Kurt Horimoto's avatar
    [iOS] Move UI delegate and observer out of OverlayPresenter. · a44ad101
    Kurt Horimoto authored
    This CL creates a separate file for OverlayPresenter::UIDelegate
    (renamed to OverlayPresentationContext).  This was done because the
    presentation context will need to support observation so that the
    presenter can be aware of when it has a coordinator in which to present
    overlay UI.  The class was renamed because it seems like an anti-pattern
    for a delegate to support observation.
    
    This CL also moves OverlayPresenter::Observer to a separate file for
    consistency.
    
    Bug: 941745
    Change-Id: I92208a28a84a450d3a00aa08c7dfbf546bb7ff98
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671028Reviewed-by: default avatarMike Dougherty <michaeldo@chromium.org>
    Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#672660}
    a44ad101
overlay_presenter_impl_unittest.mm 17.1 KB