![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IWebBrowserWindow.h>
Inheritance diagram for IWebBrowserWindow:Public Types | |
| typedef TMap< FString, FString > | FRequestHeaders |
Protected Member Functions | |
| virtual | ~IWebBrowserWindow () |
Interface for dealing with a Web Browser window
| typedef TMap<FString, FString> IWebBrowserWindow::FRequestHeaders |
A delegate that is invoked before the browser loads a resource. Its primary purpose is to inject headers into the request.
|
inlineprotectedvirtual |
Virtual Destructor.
|
inlinevirtual |
|
pure virtual |
Expose a UObject instance to the browser runtime. Properties and Functions will be accessible from JavaScript side. As all communication with the rendering procesis asynchronous, return values (both for properties and function results) are wrapped into JS Future objects.
| Name | The name of the object. The object will show up as window.ue.{Name} on the javascript side. If there is an existing object of the same name, this object will replace it. If bIsPermanent is false and there is an existing permanent binding, the permanent binding will be restored when the temporary one is removed. |
| Object | The object instance. |
| bIsPermanent | If true, the object will be visible to all pages loaded through this browser widget, otherwise, it will be deleted when navigating away from the current page. Non-permanent bindings should be registered from inside an OnLoadStarted event handler in order to be available before JS code starts loading. |
Implemented in FNativeWebBrowserProxy.
Returns true if the browser can navigate backwards.
Implemented in FNativeWebBrowserProxy.
Returns true if the browser can navigate forwards.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Close this window so that it can no longer be used.
| bForce | Designates whether the web browser close should be forced. |
| bBlockTillClosed | Don't return until this browser object is fully closed. |
Implemented in FNativeWebBrowserProxy.
| IWebBrowserWindow::DECLARE_DELEGATE_FourParams | ( | FOnBeforeResourceLoadDelegate | , |
| FString | , | ||
| FString | , | ||
| FRequestHeaders & | , | ||
| const bool | |||
| ) |
| IWebBrowserWindow::DECLARE_DELEGATE_FourParams | ( | FOnConsoleMessageDelegate | , |
| const FString & | , | ||
| const FString & | , | ||
| int32 | , | ||
| EWebBrowserConsoleLogSeverity | |||
| ) |
A delegate that is invoked for each console message
| IWebBrowserWindow::DECLARE_DELEGATE_FourParams | ( | FOnResourceLoadCompleteDelegate | , |
| FString | , | ||
| FString | , | ||
| FString | , | ||
| int64 | |||
| ) |
A delegate that is invoked on completion of browser resource loads. Its primary purpose is to allow response to failures.
| IWebBrowserWindow::DECLARE_DELEGATE_RetVal | ( | bool | , |
| FOnCheckVisibility | |||
| ) |
A delegate that is invoked to check the visibility of the native browser
| IWebBrowserWindow::DECLARE_DELEGATE_RetVal | ( | bool | , |
| FOnSuppressContextMenu | |||
| ) |
Should return true if this dialog wants to suppress the context menu
|
pure virtual |
A delegate that is invoked when closing created popup windows.
|
pure virtual |
A delegate that is invoked when drag is detected in an area specified as a drag region on the web page.
| IWebBrowserWindow::DECLARE_DELEGATE_RetVal_OneParam | ( | bool | , |
| FOnUnhandledKeyChar | , | ||
| const FCharacterEvent & | |||
| ) |
A delegate that is invoked for each key char event not handled by the browser, return true if event is handled to prevent it from bubbling up.
| IWebBrowserWindow::DECLARE_DELEGATE_RetVal_OneParam | ( | bool | , |
| FOnUnhandledKeyDown | , | ||
| const FKeyEvent & | |||
| ) |
A delegate that is invoked for each key down event not handled by the browser, return true if event is handled to prevent it from bubbling up.
| IWebBrowserWindow::DECLARE_DELEGATE_RetVal_OneParam | ( | bool | , |
| FOnUnhandledKeyUp | , | ||
| const FKeyEvent & | |||
| ) |
A delegate that is invoked for each up down event not handled by the browser, return true if event is handled to prevent it from bubbling up.
|
pure virtual |
A delegate that is invoked when the browser needs to show a dialog.
|
pure virtual |
A delegate that is invoked to allow user code to override the contents of a Url.
|
pure virtual |
A delegate that is invoked prior to browser navigation.
| IWebBrowserWindow::DECLARE_DELEGATE_RetVal_TwoParams | ( | bool | , |
| FOnBeforePopupDelegate | , | ||
| FString | , | ||
| FString | |||
| ) |
A delegate that is invoked when a popup window is attempting to open.
|
pure virtual |
A delegate that is invoked when an existing browser requests creation of a new browser window.
| IWebBrowserWindow::DECLARE_EVENT_OneParam | ( | IWebBrowserWindow | , |
| FOnDocumentStateChanged | , | ||
| EWebBrowserDocumentState | |||
| ) |
A delegate that is invoked when the loading state of a document changed.
|
pure virtual |
A delegate that is invoked when the browser needs to show a popup menu.
| IWebBrowserWindow::DECLARE_EVENT_OneParam | ( | IWebBrowserWindow | , |
| FOnTitleChanged | , | ||
| FString | |||
| ) |
A delegate to allow callbacks when a browser title changes.
| IWebBrowserWindow::DECLARE_EVENT_OneParam | ( | IWebBrowserWindow | , |
| FOnToolTip | , | ||
| FString | |||
| ) |
A delegate to allow callbacks when a frame url changes.
| IWebBrowserWindow::DECLARE_EVENT_OneParam | ( | IWebBrowserWindow | , |
| FOnUrlChanged | , | ||
| FString | |||
| ) |
A delegate to allow callbacks when a frame url changes.
Execute Javascript on the page.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Gets the loading state of the current document.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Get current load error.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Get parent SWindow for this window
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Gets the source of the main frame as raw HTML.
This method has to be called asynchronously by passing a callback function, which will be called at a later point when the result is ready.
| Callback | A callable that takes a single string reference for handling the result. |
Implemented in FNativeWebBrowserProxy.
Returns whether mouse wheel events should be handled by the window
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Gets interface to the texture representation of the browser
| bISpopup | Whether to return the popup menu texture instead of the main browser window. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Gets the current title of the Browser page
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Gets the currently loaded URL.
Implemented in FNativeWebBrowserProxy.
Gets the current size of the web browser viewport if available, FIntPoint::NoneValue otherwise
| WindowSize | Desired viewport size |
Implemented in FNativeWebBrowserProxy.
Navigate backwards.
Implemented in FNativeWebBrowserProxy.
Navigate forwards.
Implemented in FNativeWebBrowserProxy.
Checks whether the web browser is currently being shut down
Implemented in FNativeWebBrowserProxy.
Checks whether the web browser has finished loaded the initial page.
Implemented in FNativeWebBrowserProxy.
Returns true if the browser is currently loading.
Implemented in FNativeWebBrowserProxy.
Checks whether the web browser is valid and ready for use
Implemented in FNativeWebBrowserProxy.
Load a string as data to create a web page
| Contents | String to load |
| DummyURL | Dummy URL for the page |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
Called when Capture lost
Implemented in FNativeWebBrowserProxy.
|
inlinevirtual |
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
The system asks each widget under the mouse to provide a cursor. This event is bubbled.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
A delegate that is invoked when the browser needs to dismiss and reset all dialogs.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
A delegate that is invoked when the browser no longer wants to show the popup menu.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
A delegate that is invoked when close is requested from the floating close button.
Called when browser receives/loses focus
| SetFocus | Whether the window gained or lost focus. |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Notify the browser of a character event
| InCharacterEvent | Character event |
Implemented in FNativeWebBrowserProxy.
Notify the browser that a key has been pressed
| InKeyEvent | Key event |
Implemented in FNativeWebBrowserProxy.
Notify the browser that a key has been released
| InKeyEvent | Key event |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Notify the browser of a double click event
| MyGeometry | The Geometry of the browser |
| MouseEvent | Information about the input event |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Notify the browser that a mouse button was pressed within it
| MyGeometry | The Geometry of the browser |
| MouseEvent | Information about the input event |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Notify the browser that a mouse button was released within it
| MyGeometry | The Geometry of the browser |
| MouseEvent | Information about the input event |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Notify the browser that a mouse has left the window
| MouseEvent | Information about the input event |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Notify the browser that a mouse moved within it
| MyGeometry | The Geometry of the browser |
| MouseEvent | Information about the input event |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Called when the mouse wheel is spun
| MyGeometry | The Geometry of the browser |
| MouseEvent | Information about the input event |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
A delegate that is invoked when the off-screen window has been repainted and requires an update.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Called when a touch gesture is performed.
| MyGeometry | The Geometry of the browser |
| GestureEvent | Information about the input event |
| bIsPopup | True if the coordinates are relative to a popup menu window, otherwise false. |
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Implemented in FNativeWebBrowserProxy.
Reload the current page.
Implemented in FNativeWebBrowserProxy.
Disable or enable web view.
| bValue | Setting this to true will prevent any updates from the background web browser. |
Implemented in FNativeWebBrowserProxy.
|
inlinevirtual |
|
pure virtual |
Set parent SWindow for this window
Implemented in FNativeWebBrowserProxy.
Sets whether mouse wheel events should be handled by the window
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Set the desired size of the web browser viewport
| WindowSize | Desired viewport size |
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Shows floating button in the browser if supported by platform
Implemented in FNativeWebBrowserProxy.
Stop loading the page.
Implemented in FNativeWebBrowserProxy.
|
pure virtual |
Remove an existing script binding registered by BindUObject.
| Name | The name of the object to remove. |
| Object | The object will only be removed if it is the same object as the one passed in. |
| bIsPermanent | Must match the bIsPermanent argument passed to BindUObject. |
Implemented in FNativeWebBrowserProxy.