• Christopher Cameron's avatar
    RemoteMacViews: Move NativeWindowProperty and AssociatedViews · 64c7a916
    Christopher Cameron authored
    Move Set/GetNativeWindowProperty to the browser-side
    BridgedNativeWidgetHostImpl. Also, change from using a NSDictionary
    attached to the NSWindow to just using a std::map -- these properties
    do not actually need to be attached to the NSWindow.
    
    Move Set/RemoveAssociationForView and ReorderChildViews to the
    browser side, because that's where the views::View hierarchy is
    stored. Compute the appropriate NSView->rank map and then send that
    to the BridgedNativeWidgetImpl (in the future, this will be a
    handle->rank map, when crossing process boundaries).
    
    Bug: 859152
    Change-Id: I142ec9eb180a81a9e456957bc9f42f32ab7de792
    Reviewed-on: https://chromium-review.googlesource.com/1217450Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
    Commit-Queue: ccameron <ccameron@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#590343}
    64c7a916
native_widget_mac.mm 26.4 KB