IRenderProcessMessageHandler.OnContextCreated Method |
Version 63.0.0
OnContextCreated is called in the Render process immediately after a CefV8Context is created.
An IPC message is immediately sent to notify the context has been created
(should be safe to execute javascript). If the page has no javascript then no V8Context will be created
and as a result this method will not be called. Currently only called for the Main frame
IsMain
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntaxvoid OnContextCreated(
IWebBrowser browserControl,
IBrowser browser,
IFrame frame
)
void OnContextCreated(
IWebBrowser^ browserControl,
IBrowser^ browser,
IFrame^ frame
)
Parameters
- browserControl
- Type: CefSharp.IWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharp.IBrowser
the browser object - frame
- Type: CefSharp.IFrame
The frame.
See Also