以下条件很关键,这将是使用谷歌chrome插件的重要机制。该虚函数的重载来自基类CefRenderProcessHandler。
m_browser->SendProcessMessage(PID_RENDERER, msg);将会触发->bool CCefAppHandler::OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message)
01-13
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)