RemoteMacViews: Add NSView handles
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:
Dominick Ng <dominickn@chromium.org>
Reviewed-by:
Sidney San Martín <sdy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595746}
Showing
ui/base/cocoa/ns_view_ids.h
0 → 100644
ui/base/cocoa/ns_view_ids.mm
0 → 100644
Please register or sign in to comment