UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CEFBrowserApp.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#include "Misc/ScopeLock.h"
7
8#if WITH_CEF3
9
10#include "CEFLibCefIncludes.h"
11
13
17class FCEFBrowserApp : public CefApp,
19{
20public:
21
26
28 bool TickMessagePump(float DeltaTime, bool bForce);
29
30private:
31 // CefApp methods.
32 virtual CefRefPtr<CefBrowserProcessHandler> GetBrowserProcessHandler() override { return this; }
34 // CefBrowserProcessHandler methods:
36#if CEF_VERSION_MAJOR < 128
37 virtual void OnScheduleMessagePumpWork(int64 delay_ms) override;
38#else
39 virtual void OnScheduleMessagePumpWork(int64_t delay_ms) override;
41#endif
42
43 // Include the default reference counting implementation.
45
46 // Lock for access MessagePumpCountdown
48 // Countdown in milliseconds until CefDoMessageLoopWork is called. Updated by OnScheduleMessagePumpWork
50};
51#endif
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE::FPlatformRecursiveMutex FCriticalSection
Definition CriticalSection.h:53
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition LogMacros.h:361