Navigation
API > API/Runtime > API/Runtime/WebBrowser
A singleton class that takes care of general web browser tasks
| Name | IWebBrowserSingleton |
| Type | class |
| Header File | /Engine/Source/Runtime/WebBrowser/Public/IWebBrowserSingleton.h |
| Include Path | #include "IWebBrowserSingleton.h" |
Syntax
class IWebBrowserSingleton
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IWebBrowserSingleton() |
Virtual Destructor | IWebBrowserSingleton.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString ApplicationCacheDir() |
IWebBrowserSingleton.h | ||
void ClearOldCacheFolders
(
const FString& CachePathRoot, |
Delete old/unused web cache paths. | IWebBrowserSingleton.h | |
TSharedPtr< IWebBrowserWindow > CreateBrowserWindow
(
TSharedPtr< FCEFWebBrowserWindow >& BrowserWindowParent, |
Create a new web browser window | IWebBrowserSingleton.h | |
TSharedPtr< IWebBrowserWindow > CreateBrowserWindow
(
const FCreateBrowserWindowSettings& Settings |
Create a new web browser window | IWebBrowserSingleton.h | |
TSharedPtr< class IWebBrowserCookieManager > GetCookieManager () |
IWebBrowserSingleton.h | ||
TSharedPtr< class IWebBrowserCookieManager > GetCookieManager
(
TOptional< FString > ContextId |
IWebBrowserSingleton.h | ||
UMaterialInterface * GetDefaultMaterial() |
Get a reference to UWebBrowser's default material | IWebBrowserSingleton.h | |
UMaterialInterface * GetDefaultTranslucentMaterial() |
Get a reference to UWebBrowser's transparent material | IWebBrowserSingleton.h | |
TSharedRef< IWebBrowserWindowFactory > GetWebBrowserWindowFactory() |
IWebBrowserSingleton.h | ||
bool IsDevToolsShortcutEnabled () |
Returns whether the CTRL/CMD-SHIFT-I shortcut to show the Chromium Dev tools window is enabled. | IWebBrowserSingleton.h | |
bool IsShuttingDown() |
Indicates whether the browser engine is in the shutdown phase. | IWebBrowserSingleton.h | |
bool RegisterContext
(
const FBrowserContextSettings& Settings |
IWebBrowserSingleton.h | ||
bool RegisterSchemeHandlerFactory
(
FString Scheme, |
Registers a custom scheme handler factory, for a given scheme and domain. | IWebBrowserSingleton.h | |
void SetDefaultMaterial
(
UMaterialInterface* InDefaultMaterial |
Set a reference to UWebBrowser's default material | IWebBrowserSingleton.h | |
void SetDefaultTranslucentMaterial
(
UMaterialInterface* InDefaultMaterial |
Set a reference to UWebBrowser's translucent material | IWebBrowserSingleton.h | |
void SetDevToolsShortcutEnabled
(
bool Value |
Enable or disable CTRL/CMD-SHIFT-I shortcut to show the Chromium Dev tools window. | IWebBrowserSingleton.h | |
void SetJSBindingToLoweringEnabled
(
bool bEnabled |
Enable or disable to-lowering of JavaScript object member bindings. | IWebBrowserSingleton.h | |
bool UnregisterContext
(
const FString& ContextId |
IWebBrowserSingleton.h | ||
bool UnregisterSchemeHandlerFactory
(
IWebBrowserSchemeHandlerFactory* WebBrowserSchemeHandlerFactory |
Unregister a custom scheme handler factory. | IWebBrowserSingleton.h |