You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Removes depency on WebBrowser project from Slate, it now depends on Slate instead. Removed functions from Singleton interface that are no longer needed. Get the Slate renderer when needed instead of keeping reference. Added call to FTicker::Tick function in Slate viewer app so that Web Browser will continue to work. [CL 2330030 by Matthew Griffin in Main branch]
32 lines
972 B
C++
32 lines
972 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
// Forward Declarations
|
|
class FSlateRenderer;
|
|
class IWebBrowserWindow;
|
|
|
|
/**
|
|
* A singleton class that takes care of general web browser tasks
|
|
*/
|
|
class WEBBROWSER_API IWebBrowserSingleton
|
|
{
|
|
public:
|
|
/**
|
|
* Virtual Destructor
|
|
*/
|
|
virtual ~IWebBrowserSingleton() {};
|
|
|
|
/**
|
|
* Create a new web browser window
|
|
*
|
|
* @param OSWindowHandle Handle of OS Window that the browser will be displayed in (can be null)
|
|
* @param InitialURL URL that the browser should initially navigate to
|
|
* @param Width Initial width of the browser
|
|
* @param Height Initial height of the browser
|
|
* @param bUseTransparency Whether to allow transparent rendering of pages
|
|
* @return New Web Browser Window Interface (may be null if not supported)
|
|
*/
|
|
virtual TSharedPtr<IWebBrowserWindow> CreateBrowserWindow(void* OSWindowHandle, FString InitialURL, uint32 Width, uint32 Height, bool bUseTransparency) = 0;
|
|
};
|