Chromium Embedded Framework (CEF)
109.0.1+gcd5e37a+chromium-109.0.5414.8
|
Implement this interface to handle Textfield events. More...
#include "include/views/cef_textfield_delegate.h"
Public Member Functions | |
virtual bool | OnKeyEvent (CefRefPtr< CefTextfield > textfield, const CefKeyEvent &event) |
Called when |textfield| recieves a keyboard event. More... | |
virtual void | OnAfterUserAction (CefRefPtr< CefTextfield > textfield) |
Called after performing a user action that may change |textfield|. 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... | |
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 Textfield events.
The methods of this class will be called on the browser process UI thread unless otherwise indicated.
|
inlinevirtual |
Called after performing a user action that may change |textfield|.
|
inlinevirtual |
Called when |textfield| recieves a keyboard event.
|event| contains information about the keyboard event. Return true if the keyboard event was handled or false otherwise for default handling.