RemoteMacViews: Move NativeWindowProperty and AssociatedViews
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:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#590343}
Showing
Please register or sign in to comment