| 739 | } |
| 740 | |
| 741 | void |
| 742 | ThrustWindow::WebViewGuestInsertCSS( |
| 743 | int guest_instance_id, |
| 744 | const std::string& css) |
| 745 | { |
| 746 | WebViewGuest* guest = |
| 747 | WebViewGuest::FromWebContents( |
| 748 | ThrustShellBrowserClient::Get()->ThrustSessionForBrowserContext( |
| 749 | GetWebContents()->GetBrowserContext())-> |
| 750 | GetGuestByInstanceID(guest_instance_id, |
| 751 | GetWebContents()->GetRenderProcessHost()->GetID())); |
| 752 | |
| 753 | guest->InsertCSS(css); |
| 754 | } |
| 755 | |
| 756 | void |
| 757 | ThrustWindow::WebViewGuestExecuteScript( |
nothing calls this directly
no test coverage detected