PermissionHandlerOnDismissPermissionPrompt Method |
Version 110.0.300
Called when a permission prompt handled via
OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback) is dismissed.
result will be the value passed to
Continue(PermissionRequestResult) or
Ignore if
the dialog was dismissed for other reasons such as navigation, browser
closure, etc. This method will not be called if
OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback)
returned false for
promptId.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 110.0.300.0 (110.0.300.0)
Syntax protected virtual void OnDismissPermissionPrompt(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
ulong promptId,
PermissionRequestResult result
)
protected:
virtual void OnDismissPermissionPrompt(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
unsigned long long promptId,
PermissionRequestResult result
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
The browser object - promptId
- Type: SystemUInt64
Will match the value that was passed to OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback). - result
- Type: CefSharpPermissionRequestResult
will be the value passed to Continue(PermissionRequestResult) or Ignore if the dialog was dismissed for other reasons such as navigation, browser closure, etc. This method will not be called if OnShowPermissionPrompt(IWebBrowser, IBrowser, UInt64, String, PermissionRequestType, IPermissionPromptCallback) returned false for promptId.
See Also