|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CefBaseRefCounted | +--CefMenuModelDelegatein cef_menu_model_delegate.h
Implement this interface to handle menu model events. The methods of this class will be called on the browser process UI thread unless otherwise indicated.
Method Summary | |
virtual void |
ExecuteCommand( CefRefPtr< CefMenuModel > menu_model, int command_id, cef_event_flags_t event_flags )= 0
Perform the action associated with the specified |command_id| and optional |event_flags|. |
virtual bool |
FormatLabel( CefRefPtr< CefMenuModel > menu_model, CefString& label )
Optionally modify a menu item label. |
virtual void |
MenuClosed( CefRefPtr< CefMenuModel > menu_model )
The menu has closed. |
virtual void |
MenuWillShow( CefRefPtr< CefMenuModel > menu_model )
The menu is about to show. |
virtual void |
MouseOutsideMenu( CefRefPtr< CefMenuModel > menu_model, const CefPoint& screen_point )
Called when the user moves the mouse outside the menu and over the owning window. |
virtual void |
UnhandledCloseSubmenu( CefRefPtr< CefMenuModel > menu_model, bool is_rtl )
Called on unhandled close submenu keyboard commands. |
virtual void |
UnhandledOpenSubmenu( CefRefPtr< CefMenuModel > menu_model, bool is_rtl )
Called on unhandled open submenu keyboard commands. |
Methods inherited from class CefBaseRefCounted |
AddRef, Release, HasOneRef, HasAtLeastOneRef |
Method Detail |
public virtual void ExecuteCommand( CefRefPtr< CefMenuModel > menu_model, int command_id, cef_event_flags_t event_flags )= 0;
public virtual bool FormatLabel( CefRefPtr< CefMenuModel > menu_model, CefString& label );
public virtual void MenuClosed( CefRefPtr< CefMenuModel > menu_model );
public virtual void MenuWillShow( CefRefPtr< CefMenuModel > menu_model );
public virtual void MouseOutsideMenu( CefRefPtr< CefMenuModel > menu_model, const CefPoint& screen_point );
public virtual void UnhandledCloseSubmenu( CefRefPtr< CefMenuModel > menu_model, bool is_rtl );
public virtual void UnhandledOpenSubmenu( CefRefPtr< CefMenuModel > menu_model, bool is_rtl );
|
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149 | ||||||
FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |