Chromium Embedded Framework (CEF)  109.0.1+gcd5e37a+chromium-109.0.5414.8
CefWindowInfo Class Reference

Class representing window information. More...

#include "include/internal/cef_win.h"

Inheritance diagram for CefWindowInfo:
CefStructBase< CefWindowInfoTraits > CefStructBase< CefWindowInfoTraits > CefStructBase< CefWindowInfoTraits >

Public Types

typedef CefStructBase< CefWindowInfoTraitsparent
 
typedef CefStructBase< CefWindowInfoTraitsparent
 
typedef CefStructBase< CefWindowInfoTraitsparent
 
- Public Types inherited from CefStructBase< CefWindowInfoTraits >
using struct_type = typename traits::struct_type
 

Public Member Functions

 CefWindowInfo ()
 
 CefWindowInfo (const cef_window_info_t &r)
 
 CefWindowInfo (const CefWindowInfo &r)
 
CefWindowInfooperator= (const CefWindowInfo &)=default
 
CefWindowInfooperator= (CefWindowInfo &&)=default
 
void SetAsChild (CefWindowHandle parent, const CefRect &bounds)
 Create the browser as a child window. More...
 
void SetAsWindowless (CefWindowHandle parent)
 Create the browser using windowless (off-screen) rendering. More...
 
 CefWindowInfo ()
 
 CefWindowInfo (const cef_window_info_t &r)
 
 CefWindowInfo (const CefWindowInfo &r)
 
CefWindowInfooperator= (const CefWindowInfo &)=default
 
CefWindowInfooperator= (CefWindowInfo &&)=default
 
void SetAsChild (CefWindowHandle parent, const CefRect &bounds)
 Create the browser as a child view. More...
 
void SetAsWindowless (CefWindowHandle parent)
 Create the browser using windowless (off-screen) rendering. More...
 
 CefWindowInfo ()
 
 CefWindowInfo (const cef_window_info_t &r)
 
 CefWindowInfo (const CefWindowInfo &r)
 
CefWindowInfooperator= (const CefWindowInfo &)=default
 
CefWindowInfooperator= (CefWindowInfo &&)=default
 
void SetAsChild (CefWindowHandle parent, const CefRect &windowBounds)
 Create the browser as a child window. More...
 
void SetAsPopup (CefWindowHandle parent, const CefString &windowName)
 Create the browser as a popup window. More...
 
void SetAsWindowless (CefWindowHandle parent)
 Create the browser using windowless (off-screen) rendering. More...
 
- Public Member Functions inherited from CefStructBase< CefWindowInfoTraits >
 CefStructBase ()
 
 CefStructBase (const CefStructBase &r)
 
 CefStructBase (const struct_type &r)
 
virtual ~CefStructBase ()
 
void AttachTo (struct_type &source)
 Attach to the source structure's existing values. More...
 
void DetachTo (struct_type &target)
 Relinquish ownership of values to the target structure. More...
 
void Set (const struct_type &source, bool copy)
 Set this object's values. More...
 
CefStructBaseoperator= (const CefStructBase &s)
 
CefStructBaseoperator= (const struct_type &s)
 

Additional Inherited Members

- Protected Member Functions inherited from CefStructBase< CefWindowInfoTraits >
void Init ()
 
- Static Protected Member Functions inherited from CefStructBase< CefWindowInfoTraits >
static void Clear (struct_type *s)
 
- Protected Attributes inherited from CefStructBase< CefWindowInfoTraits >
struct_typeattached_to_
 

Detailed Description

Class representing window information.

Member Typedef Documentation

◆ parent [1/3]

◆ parent [2/3]

◆ parent [3/3]

Constructor & Destructor Documentation

◆ CefWindowInfo() [1/9]

CefWindowInfo::CefWindowInfo ( )
inline

◆ CefWindowInfo() [2/9]

CefWindowInfo::CefWindowInfo ( const cef_window_info_t r)
inlineexplicit

◆ CefWindowInfo() [3/9]

CefWindowInfo::CefWindowInfo ( const CefWindowInfo r)
inlineexplicit

◆ CefWindowInfo() [4/9]

CefWindowInfo::CefWindowInfo ( )
inline

◆ CefWindowInfo() [5/9]

CefWindowInfo::CefWindowInfo ( const cef_window_info_t r)
inlineexplicit

◆ CefWindowInfo() [6/9]

CefWindowInfo::CefWindowInfo ( const CefWindowInfo r)
inlineexplicit

◆ CefWindowInfo() [7/9]

CefWindowInfo::CefWindowInfo ( )
inline

◆ CefWindowInfo() [8/9]

CefWindowInfo::CefWindowInfo ( const cef_window_info_t r)
inlineexplicit

◆ CefWindowInfo() [9/9]

CefWindowInfo::CefWindowInfo ( const CefWindowInfo r)
inlineexplicit

Member Function Documentation

◆ operator=() [1/6]

CefWindowInfo& CefWindowInfo::operator= ( CefWindowInfo &&  )
default

◆ operator=() [2/6]

CefWindowInfo& CefWindowInfo::operator= ( CefWindowInfo &&  )
default

◆ operator=() [3/6]

CefWindowInfo& CefWindowInfo::operator= ( CefWindowInfo &&  )
default

◆ operator=() [4/6]

CefWindowInfo& CefWindowInfo::operator= ( const CefWindowInfo )
default

◆ operator=() [5/6]

CefWindowInfo& CefWindowInfo::operator= ( const CefWindowInfo )
default

◆ operator=() [6/6]

CefWindowInfo& CefWindowInfo::operator= ( const CefWindowInfo )
default

◆ SetAsChild() [1/3]

void CefWindowInfo::SetAsChild ( CefWindowHandle  parent,
const CefRect bounds 
)
inline

Create the browser as a child window.

◆ SetAsChild() [2/3]

void CefWindowInfo::SetAsChild ( CefWindowHandle  parent,
const CefRect bounds 
)
inline

Create the browser as a child view.

◆ SetAsChild() [3/3]

void CefWindowInfo::SetAsChild ( CefWindowHandle  parent,
const CefRect windowBounds 
)
inline

Create the browser as a child window.

◆ SetAsPopup()

void CefWindowInfo::SetAsPopup ( CefWindowHandle  parent,
const CefString windowName 
)
inline

Create the browser as a popup window.

◆ SetAsWindowless() [1/3]

void CefWindowInfo::SetAsWindowless ( CefWindowHandle  parent)
inline

Create the browser using windowless (off-screen) rendering.

No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent| is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.

◆ SetAsWindowless() [2/3]

void CefWindowInfo::SetAsWindowless ( CefWindowHandle  parent)
inline

Create the browser using windowless (off-screen) rendering.

No view will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent| value will be used to identify monitor info and to act as the parent view for dialogs, context menus, etc. If |parent| is not provided then the main screen monitor will be used and some functionality that requires a parent view may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.

◆ SetAsWindowless() [3/3]

void CefWindowInfo::SetAsWindowless ( CefWindowHandle  parent)
inline

Create the browser using windowless (off-screen) rendering.

No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent| is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true. Transparent painting is enabled by default but can be disabled by setting CefBrowserSettings.background_color to an opaque value.


The documentation for this class was generated from the following files: