Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
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.
 
virtual CefRefPtr< CefFillLayoutAsFillLayout ()=0
 Returns this Layout as a FillLayout or NULL if this is not a FillLayout.
 
virtual bool IsValid ()=0
 Returns true if this Layout is valid.
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object.
 
virtual bool Release () const =0
 Called to decrement the reference count for the object.
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1.
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1.
 

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: