// 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 CommandLine) { std::string x = CommandLine->GetCommandLineString(); std::string a = "d"+x; } /*void FWebBrowserApp::OnContextCreated(CefRefPtr Browser, CefRefPtr Frame, CefRefPtr Context) { // Retrieve the context's window object. CefRefPtr Object = Context->GetGlobal(); Object->SetValue("answer", CefV8Value::CreateUInt(42), V8_PROPERTY_ATTRIBUTE_READONLY); }*/ #endif