Called when the main frame changes due to one of the following: - (a) initial browser creation - (b) final browser destruction - (c) cross-origin navigation - (d) re-navigation after renderer process termination (due to crashes, etc).
oldFramewill be
nulland
newFramewill be non-
nullwhen a main frame is assigned to
browserfor the first time.
oldFramewill be non-
nulland
newFramewill be
nullwhen a main frame is removed from
browserfor the last time. Both
oldFrameand
newFramewill be non-
nullfor cross-origin navigations or re-navigation after renderer process termination. This method will be called after
OnFrameCreated(IWebBrowser, IBrowser, IFrame)for
newFrameand/or after
OnFrameDetached(IWebBrowser, IBrowser, IFrame)for
oldFrame. If called after
OnBeforeClose(IWebBrowser, IBrowser)during browser destruction then
IsValidwill return
falsefor
browser.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxvoid OnMainFrameChanged( IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame oldFrame, IFrame newFrame )
void OnMainFrameChanged( IWebBrowser^ chromiumWebBrowser, IBrowser^ browser, IFrame^ oldFrame, IFrame^ newFrame )Parameters
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4