Browser dialog parameters passed to OnBrowserDialog event handlers.
更多...
#include <IWebBrowserDialog.h>
|
| virtual void | Continue (bool Success=true, const FText &UserResponse=FText::GetEmpty())=0 |
| | Tell the browser to continue with the result of the dialog. 更多...
|
| |
| virtual const FText & | GetDefaultPrompt ()=0 |
| | Only valid for Prompt dialogs. 更多...
|
| |
| virtual const FText & | GetMessageText ()=0 |
| | Get the dialog message. 更多...
|
| |
| virtual EWebBrowserDialogType | GetType ()=0 |
| | What kind of dialog should be shown. 更多...
|
| |
| virtual bool | IsReload ()=0 |
| | Only valid for Unload dialogs. 更多...
|
| |
Browser dialog parameters passed to OnBrowserDialog event handlers.
◆ Continue()
| virtual void IWebBrowserDialog::Continue |
( |
bool |
Success = true, |
|
|
const FText & |
UserResponse = FText::GetEmpty() |
|
) |
| |
|
pure virtual |
Tell the browser to continue with the result of the dialog.
If this method is used, the original event handler must return EWebBrowserDialogEventResponse::Handled.
- 参数
-
| Success | Did the user accept the dialog or not? |
| UserResponse | Only for Prompt dialog, the text entered by the user. |
◆ GetDefaultPrompt()
| virtual const FText & IWebBrowserDialog::GetDefaultPrompt |
( |
| ) |
|
|
pure virtual |
Only valid for Prompt dialogs.
- 返回
- the default value to show in the text entry box.
◆ GetMessageText()
| virtual const FText & IWebBrowserDialog::GetMessageText |
( |
| ) |
|
|
pure virtual |
Get the dialog message.
- 返回
- the message to show in the dialog.
◆ GetType()
| virtual EWebBrowserDialogType IWebBrowserDialog::GetType |
( |
| ) |
|
|
pure virtual |
What kind of dialog should be shown.
- 返回
- the dialog type
◆ IsReload()
| virtual bool IWebBrowserDialog::IsReload |
( |
| ) |
|
|
pure virtual |
Only valid for Unload dialogs.
- 返回
- true if the dialog is confirming a reload of the current page.
该类的文档由以下文件生成: