mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user