Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3578.1860.g36610bd
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefMenuModelDelegate

CefBaseRefCounted
   |
   +--CefMenuModelDelegate

   in cef_menu_model_delegate.h

class CefMenuModelDelegate
extends CefBaseRefCounted

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

ExecuteCommand

public 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|.

FormatLabel

public virtual bool FormatLabel( CefRefPtr< CefMenuModel > menu_model, CefString& label );
Optionally modify a menu item label. Return true if |label| was modified.

MenuClosed

public virtual void MenuClosed( CefRefPtr< CefMenuModel > menu_model );
The menu has closed.

MenuWillShow

public virtual void MenuWillShow( CefRefPtr< CefMenuModel > menu_model );
The menu is about to show.

MouseOutsideMenu

public 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.

UnhandledCloseSubmenu

public virtual void UnhandledCloseSubmenu( CefRefPtr< CefMenuModel > menu_model, bool is_rtl );
Called on unhandled close submenu keyboard commands. |is_rtl| will be true if the menu is displaying a right-to-left language.

UnhandledOpenSubmenu

public virtual void UnhandledOpenSubmenu( CefRefPtr< CefMenuModel > menu_model, bool is_rtl );
Called on unhandled open submenu keyboard commands. |is_rtl| will be true if the menu is displaying a right-to-left language.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3578.1860.g36610bd
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt