Add a new CefRequestHandler::OnRenderViewReady method which is called when a browser is ready to receive/handle IPC messages in the render process (issue #1564).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2055 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2015-03-09 21:05:22 +00:00
parent c49473729d
commit 9dc7d2a398
6 changed files with 57 additions and 0 deletions

View File

@@ -2447,6 +2447,12 @@ void CefBrowserHostImpl::RenderViewReady() {
Send(queued_messages_.front());
queued_messages_.pop();
}
if (client_.get()) {
CefRefPtr<CefRequestHandler> handler = client_->GetRequestHandler();
if (handler.get())
handler->OnRenderViewReady(this);
}
}
void CefBrowserHostImpl::RenderProcessGone(base::TerminationStatus status) {