UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CEFBrowserClosureTask.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7#if WITH_CEF3
8#include "CEFLibCefIncludes.h"
9
10// Helper for posting a closure as a task
12 : public CefTask
13{
14public:
18 { }
19
20 virtual void Execute() override
21 {
22 Closure();
23 }
24
25private:
26 CefRefPtr<CefBaseRefCounted> Handle; // Used so the handler will not go out of scope before the closure is executed.
29};
30
31
32#endif /* WITH_CEF3 */
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition AndroidPlatformMisc.h:14