UCefView
Loading...
Searching...
No Matches
FCefFrameId

Type alias for CEF frame id, used to uniquely identify a browser frame within the Chromium Embedded Framework. More...

#include <CefViewTypes.h>

Public Member Functions

 FCefFrameId ()
 Default constructor for FCefFrameId. Initializes the frame id to zero (for int) or empty string (for FString).
 
 FCefFrameId (const TCHAR *Id)
 Constructor for FCefFrameId with a string id.
 

Public Attributes

FString Value = TEXT("")
 The string value representing the frame id.
 

Detailed Description

Type alias for CEF frame id, used to uniquely identify a browser frame within the Chromium Embedded Framework.

The underlying type of the frame id depends on the CEF version: for versions prior to 122, it is an integer; for 122 and above, it is a string.

This struct is used throughout the UCefView plugin to reference specific frames for navigation, scripting, and event handling.

FCefFrameId FrameId(12345); // For CEF < 122
FCefFrameId FrameId(TEXT("frame-guid")); // For CEF >= 122
FCefFrameId()
Default constructor for FCefFrameId. Initializes the frame id to zero (for int) or empty string (for ...
Definition CefViewTypes.h:49

Constructor & Destructor Documentation

◆ FCefFrameId() [1/2]

FCefFrameId::FCefFrameId ( )
inline

Default constructor for FCefFrameId. Initializes the frame id to zero (for int) or empty string (for FString).

◆ FCefFrameId() [2/2]

FCefFrameId::FCefFrameId ( const TCHAR * Id)
inline

Constructor for FCefFrameId with a string id.

Parameters
IdThe string id to initialize the frame id. Typically a GUID or unique string provided by CEF.

Member Data Documentation

◆ Value

FString FCefFrameId::Value = TEXT("")

The string value representing the frame id.

Used for CEF versions 122 and above. This value is globally unique.