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
8{
9public:
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
22{
23public:
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};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition IWebBrowserAdapter.h:22
Definition IWebBrowserAdapter.h:8
virtual void DisconnectFrom(const TSharedRef< IWebBrowserWindow > &BrowserWindow)=0
virtual void ConnectTo(const TSharedRef< IWebBrowserWindow > &BrowserWindow)=0
virtual bool IsPermanent() const =0
virtual FString GetName() const =0
Definition SharedPointer.h:153
Definition Object.h:95