Chromium Embedded Framework (CEF)  122.1.5+gf09a9bc+chromium-122.0.6261.29
CefLayout Class Referenceabstract

A Layout handles the sizing of the children of a Panel according to implementation-specific heuristics. More...

#include "include/views/cef_layout.h"

Inheritance diagram for CefLayout:
CefBaseRefCounted CefBoxLayout CefFillLayout

Public Member Functions

virtual CefRefPtr< CefBoxLayoutAsBoxLayout ()=0
 Returns this Layout as a BoxLayout or NULL if this is not a BoxLayout. More...
 
virtual CefRefPtr< CefFillLayoutAsFillLayout ()=0
 Returns this Layout as a FillLayout or NULL if this is not a FillLayout. More...
 
virtual bool IsValid ()=0
 Returns true if this Layout is valid. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

A Layout handles the sizing of the children of a Panel according to implementation-specific heuristics.

Methods must be called on the browser process UI thread unless otherwise indicated.

Member Function Documentation

◆ AsBoxLayout()

virtual CefRefPtr<CefBoxLayout> CefLayout::AsBoxLayout ( )
pure virtual

Returns this Layout as a BoxLayout or NULL if this is not a BoxLayout.

◆ AsFillLayout()

virtual CefRefPtr<CefFillLayout> CefLayout::AsFillLayout ( )
pure virtual

Returns this Layout as a FillLayout or NULL if this is not a FillLayout.

◆ IsValid()

virtual bool CefLayout::IsValid ( )
pure virtual

Returns true if this Layout is valid.


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