Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP

This commit is contained in:
amaitland
2014-08-12 10:57:21 +10:00
8 changed files with 83 additions and 1 deletions
@@ -228,6 +228,15 @@ namespace CefSharp
}
}
void ClientAdapter::OnRenderProcessTerminated(CefRefPtr<CefBrowser> browser, TerminationStatus status)
{
IRequestHandler^ handler = _browserControl->RequestHandler;
if (handler != nullptr)
{
handler->OnRenderProcessTerminated(_browserControl, (CefTerminationStatus)status);
}
}
bool ClientAdapter::OnBeforeResourceLoad(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, CefRefPtr<CefRequest> request)
{
// TOOD: Try to support with CEF3; seems quite difficult because the method signature has changed greatly with many parts