-
Christopher Cameron authored
Create a views_bridge_mac::mojom::BridgedFactory interface to create remote views_bridge_mac::mojom::BridgedNativeWidget instances. The chrome::mojom::AppShim interface will be updated in a follow-on patch to have a method to provide a BridgedFactory instance. Create a views_bridge_mac::mojom::BridgeFactoryImpl to instantiate in the app shim process, to own the bridges. Add a CreateWindow method to views_bridge_mac::mojom::BridgedFactory to create a window in the app shim process. This function is not yet expressive enough to encompass all window types needed, but is sufficient for testing. Add a BridgedNativeWidgetHostImpl::CreateRemoteBridge function to create a remote bridge. Bug: 859152 Change-Id: Iea81da4af7f3787f70474f49ba45c1c831d2fcc3 Reviewed-on: https://chromium-review.googlesource.com/1226251 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#591920}
da75e657