You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
35 lines
892 B
C++
35 lines
892 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "WebBrowserPrivatePCH.h"
|
|
#include "WebBrowserApp.h"
|
|
|
|
#if WITH_CEF3
|
|
FWebBrowserApp::FWebBrowserApp()
|
|
{
|
|
}
|
|
|
|
void FWebBrowserApp::OnContextInitialized()
|
|
{
|
|
// Called on the browser process UI thread immediately after the CEF context
|
|
// has been initialized.
|
|
}
|
|
|
|
void FWebBrowserApp::OnBeforeChildProcessLaunch(CefRefPtr<CefCommandLine> CommandLine)
|
|
{
|
|
std::string x = CommandLine->GetCommandLineString();
|
|
std::string a = "d"+x;
|
|
}
|
|
|
|
|
|
/*void FWebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser> Browser, CefRefPtr<CefFrame> Frame, CefRefPtr<CefV8Context> Context)
|
|
{
|
|
// Retrieve the context's window object.
|
|
CefRefPtr<CefV8Value> Object = Context->GetGlobal();
|
|
|
|
Object->SetValue("answer",
|
|
CefV8Value::CreateUInt(42),
|
|
V8_PROPERTY_ATTRIBUTE_READONLY);
|
|
}*/
|
|
|
|
#endif
|