• Christopher Cameron's avatar
    RemoteMacViews: Move DialogObserver to browser side · 8e335edf
    Christopher Cameron authored
    Move these from BridgedNativeWidget to BridgedNativeWidgetHostImpl.
    
    Also move window BridgedNativeWidget::OnWindowWillClose callbacks
    from directly referencing NativeWidgetHost to going through the
    BridgedNativeWidgetHost interface (since they are responsible for
    removing BridgedNativeWidgetHostImpl as an observer now).
    
    Separate out the interface that to BridgedNativeWidget that will be
    turned into a mojo interface and name it BridgedNativeWidgetPublic.
    These will be renamed to BridgedNativeWidgetImpl and
    BridgedNativeWidget in a search-and-replace patch soon.
    
    Change-Id: I523aa8b3670b9432bde434af77ffd0e18a50f00e
    Reviewed-on: https://chromium-review.googlesource.com/1175238
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#583383}
    8e335edf
native_widget_mac.mm 28.3 KB