CefRequestHandlerOnBeforeBrowse Method |
Called on the UI thread before browser navigation. Return true to cancel
the navigation or false to allow the navigation to proceed. The |request|
object cannot be modified in this callback.
CefLoadHandler::OnLoadingStateChange will be called twice in all cases.
If the navigation is allowed CefLoadHandler::OnLoadStart and
CefLoadHandler::OnLoadEnd will be called. If the navigation is canceled
CefLoadHandler::OnLoadError will be called with an |errorCode| value of
ERR_ABORTED.
Namespace: Internal.Xilium.CefGlueAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxprotected virtual bool OnBeforeBrowse(
CefBrowser browser,
CefFrame frame,
CefRequest request,
bool isRedirect
)
Parameters
- browser CefBrowser
-
- frame CefFrame
-
- request CefRequest
-
- isRedirect Boolean
-
Return Value
Boolean
See Also