You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
39 lines
872 B
C++
39 lines
872 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#if WITH_CEF3
|
|
|
|
#if PLATFORM_WINDOWS
|
|
#include "AllowWindowsPlatformTypes.h"
|
|
#endif
|
|
#include "include/cef_app.h"
|
|
#if PLATFORM_WINDOWS
|
|
#include "HideWindowsPlatformTypes.h"
|
|
#endif
|
|
|
|
/**
|
|
* Implements CEF App and other Process level interfaces
|
|
*/
|
|
class FWebBrowserApp : public CefApp,
|
|
public CefBrowserProcessHandler
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Default Constructor
|
|
*/
|
|
FWebBrowserApp();
|
|
private:
|
|
// CefApp methods.
|
|
virtual CefRefPtr<CefBrowserProcessHandler> GetBrowserProcessHandler() override { return this; }
|
|
|
|
// CefBrowserProcessHandler methods:
|
|
virtual void OnContextInitialized() override;
|
|
virtual void OnBeforeChildProcessLaunch(CefRefPtr<CefCommandLine> CommandLine) override;
|
|
|
|
// Include the default reference counting implementation.
|
|
IMPLEMENT_REFCOUNTING(FWebBrowserApp);
|
|
};
|
|
#endif
|