| 812 | } |
| 813 | |
| 814 | void |
| 815 | ThrustWindow::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 */ |
nothing calls this directly
no test coverage detected