mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
To implement this, we reattach the DevToolsUIBindings for the current DevToolsWindow to the RenderFrameDevToolsAgentHost for the activated WebContents and reset the main connection in the frontend to reconnect with and enable the new agents. Bug: 992887 Change-Id: I0ca4e6cc7a6c633680bfd03d574a4030ab65d7b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1788122 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Lucas Gadani <lfg@chromium.org> Commit-Queue: Adithya Srinivasan <adithyas@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#703973} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 5d50d1e0bf22d0474cfc31f63b867706a3e7590f