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

Method WebViewEmit

src/browser/thrust_window.cc:568–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566
567
568void
569ThrustWindow::WebViewEmit(
570 int guest_instance_id,
571 const std::string type,
572 const base::DictionaryValue& params)
573{
574 /* We emit to the MainFrame as this is the only one that is authorized to */
575 /* have <webview> tags. */
576 GetWebContents()->GetMainFrame()->Send(
577 new ThrustFrameMsg_WebViewEmit(
578 GetWebContents()->GetMainFrame()->GetRoutingID(),
579 guest_instance_id, type, params));
580}
581
582void
583ThrustWindow::WebViewGuestSetAutoSize(

Callers 15

RunJavaScriptDialogMethod · 0.45
DidAttachMethod · 0.45
SetZoomMethod · 0.45
WebContentsDestroyedMethod · 0.45
DidFinishLoadMethod · 0.45
DidFailLoadMethod · 0.45
DidStartLoadingMethod · 0.45
DidStopLoadingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected