UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IWebBrowserAdapter.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
CoreMinimal.h
"
5
#include "
IWebBrowserWindow.h
"
6
7
class
IWebBrowserAdapter
8
{
9
public
:
10
11
virtual
FString
GetName
()
const
= 0;
12
13
virtual
bool
IsPermanent
()
const
= 0;
14
15
virtual
void
ConnectTo
(
const
TSharedRef<IWebBrowserWindow>
& BrowserWindow) = 0;
16
17
virtual
void
DisconnectFrom
(
const
TSharedRef<IWebBrowserWindow>
& BrowserWindow) = 0;
18
19
};
20
21
class
FWebBrowserAdapterFactory
22
{
23
public
:
24
25
static
WEBBROWSER_API
TSharedRef<IWebBrowserAdapter>
Create
(
const
FString&
Name
,
UObject
* JSBridge,
bool
IsPermanent);
26
27
static
WEBBROWSER_API
TSharedRef<IWebBrowserAdapter>
Create
(
const
FString&
Name
,
UObject
* JSBridge,
bool
IsPermanent,
const
FString& ConnectScriptText,
const
FString& DisconnectScriptText);
28
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
IWebBrowserWindow.h
EVariantTypes::Name
@ Name
ECreateIfNeeded::Create
@ Create
FWebBrowserAdapterFactory
Definition
IWebBrowserAdapter.h:22
IWebBrowserAdapter
Definition
IWebBrowserAdapter.h:8
IWebBrowserAdapter::DisconnectFrom
virtual void DisconnectFrom(const TSharedRef< IWebBrowserWindow > &BrowserWindow)=0
IWebBrowserAdapter::ConnectTo
virtual void ConnectTo(const TSharedRef< IWebBrowserWindow > &BrowserWindow)=0
IWebBrowserAdapter::IsPermanent
virtual bool IsPermanent() const =0
IWebBrowserAdapter::GetName
virtual FString GetName() const =0
TSharedRef
Definition
SharedPointer.h:153
UObject
Definition
Object.h:95
Engine
Source
Runtime
WebBrowser
Public
IWebBrowserAdapter.h
Generated by
1.9.8