MCPcopy Create free account
hub / github.com/breach/thrust / WebViewGuestJavaScriptDialogClosed

Method WebViewGuestJavaScriptDialogClosed

src/browser/thrust_window.cc:814–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814void
815ThrustWindow::WebViewGuestJavaScriptDialogClosed(
816 int guest_instance_id,
817 bool success,
818 const std::string& response)
819{
820 WebViewGuest* guest =
821 WebViewGuest::FromWebContents(
822 ThrustShellBrowserClient::Get()->ThrustSessionForBrowserContext(
823 GetWebContents()->GetBrowserContext())->
824 GetGuestByInstanceID(guest_instance_id,
825 GetWebContents()->GetRenderProcessHost()->GetID()));
826
827 guest->JavaScriptDialogClosed(success, response);
828}
829
830/******************************************************************************/
831/* PROTECTED INTERFACE */

Callers

nothing calls this directly

Calls 3

GetGuestByInstanceIDMethod · 0.80

Tested by

no test coverage detected