Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Implement this interface to handle Button events. More...
#include "include/views/cef_button_delegate.h"
Public Member Functions | |
virtual void | OnButtonPressed (CefRefPtr< CefButton > button)=0 |
Called when |button| is pressed. More... | |
virtual void | OnButtonStateChanged (CefRefPtr< CefButton > button) |
Called when the state of |button| changes. More... | |
Public Member Functions inherited from CefViewDelegate | |
virtual CefSize | GetPreferredSize (CefRefPtr< CefView > view) |
Return the preferred size for |view|. More... | |
virtual CefSize | GetMinimumSize (CefRefPtr< CefView > view) |
Return the minimum size for |view|. More... | |
virtual CefSize | GetMaximumSize (CefRefPtr< CefView > view) |
Return the maximum size for |view|. More... | |
virtual int | GetHeightForWidth (CefRefPtr< CefView > view, int width) |
Return the height necessary to display |view| with the provided |width|. More... | |
virtual void | OnParentViewChanged (CefRefPtr< CefView > view, bool added, CefRefPtr< CefView > parent) |
Called when the parent of |view| has changed. More... | |
virtual void | OnChildViewChanged (CefRefPtr< CefView > view, bool added, CefRefPtr< CefView > child) |
Called when a child of |view| has changed. More... | |
virtual void | OnWindowChanged (CefRefPtr< CefView > view, bool added) |
Called when |view| is added or removed from the CefWindow. More... | |
virtual void | OnLayoutChanged (CefRefPtr< CefView > view, const CefRect &new_bounds) |
Called when the layout of |view| has changed. More... | |
virtual void | OnFocus (CefRefPtr< CefView > view) |
Called when |view| gains focus. More... | |
virtual void | OnBlur (CefRefPtr< CefView > view) |
Called when |view| loses focus. More... | |
virtual void | OnThemeChanged (CefRefPtr< CefView > view) |
Called when the theme for |view| has changed, after the new theme colors have already been applied. 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 () |
Implement this interface to handle Button events.
The methods of this class will be called on the browser process UI thread unless otherwise indicated.
Called when |button| is pressed.
Called when the state of |button| changes.