[This is preliminary documentation and is subject to change.]
The CefJSDialogHandler type exposes the following members.Constructors
Name | Description | |
---|---|---|
CefJSDialogHandler | Initializes a new instance of the CefJSDialogHandler class |
Methods
Name | Description | |
---|---|---|
Dispose | Releases the unmanaged resources used by the CefJSDialogHandler and optionally releases the managed resources | |
Equals | (Inherited from Object.) | |
Finalize | (Overrides Object Finalize .) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
OnBeforeUnloadDialog |
Called to run a dialog asking the user if they want to leave a page. Return
false to use the default dialog implementation. Return true if the
application will use a custom dialog or if the callback has been executed
immediately. Custom dialogs may be either modal or modeless. If a custom
dialog is used the application must execute |callback| once the custom
dialog is dismissed.
| |
OnDialogClosed |
Called when the default implementation dialog is closed.
| |
OnJSDialog |
Called to run a JavaScript dialog. The |default_prompt_text| value will be
specified for prompt dialogs only. Set |suppress_message| to true and
return false to suppress the message (suppressing messages is preferable
to immediately executing the callback as this is used to detect presumably
malicious behavior like spamming alert messages in onbeforeunload). Set
|suppress_message| to false and return false to use the default
implementation (the default implementation will show one modal dialog at a
time and suppress any additional dialog requests until the displayed dialog
is dismissed). Return true if the application will use a custom dialog or
if the callback has been executed immediately. Custom dialogs may be either
modal or modeless. If a custom dialog is used the application must execute
|callback| once the custom dialog is dismissed.
| |
OnResetDialogState |
Called to cancel any pending dialogs and reset any saved dialog state. Will
be called due to events like page navigation irregardless of whether any
dialogs are currently pending.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
SyncRoot |
See Also