• Christopher Cameron's avatar
    MacViews: Remove native parent support · de14cc6a
    Christopher Cameron authored
    Require that the parent of a NativeWidgetMac always be either
    - an NSView in the NSWindow of another NativeWidgetMac
    - a nil NSView
    
    Remove WidgetOwnerNSWindowAdapter (which enabled this functionality)
    and BridgedNativeWidgetOwner (the interface it implements).
    
    Update tests that happen to use this functionality so that they don't
    use native view parents.
    
    Bug: 859152
    Change-Id: I69ea160852be5a44c7e2952445bd1115de72bd8e
    Reviewed-on: https://chromium-review.googlesource.com/c/1258292
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596465}
    de14cc6a
bridged_native_widget_impl.h 14.9 KB