• Christopher Cameron's avatar
    RemoteMacViews: Add NSView handles · 2f9fe770
    Christopher Cameron authored
    Add integer handles for NSViews that may be created in the app shim
    process. This includes the BridgedNativeWidget content view and soon
    will include the WebContentsView. A handle is not added for
    RenderWidgetHostView because there are no planned methods that would
    use it.
    
    These handles will be needed for methods that require interactions
    between NSViews created by different interfaces. Add as an example the
    method RenderWidgetHostNSViewBridge::SetParentWebContentsNSView. This
    will allow constructing the NSView hierarchy in the app shim process:
    - BridgedNativeWidget
      - WebContentsView (coming in subsequent patches)
        - RenderWidgetHostView
    
    Bug: 821651
    Change-Id: I225eb03f122baa9aea770d28e98a44c938943434
    Reviewed-on: https://chromium-review.googlesource.com/1253094
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
    Reviewed-by: default avatarSidney San Martín <sdy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#595746}
    2f9fe770
render_widget_host_ns_view.mojom 8.63 KB