/// <summary>
 /// Called when an option is selected from the default context menu.
 /// Return false to execute the default action or true to cancel the action.
 /// </summary>
 protected virtual bool OnMenuAction(CefBrowser browser, CefHandlerMenuId menuId)
 {
     return false;
 }
Example #2
0
 /// <summary>
 /// Called when an option is selected from the default context menu.
 /// Return false to execute the default action or true to cancel the action.
 /// </summary>
 protected virtual bool OnMenuAction(CefBrowser browser, CefHandlerMenuId menuId)
 {
     return(false);
 }
 /// <summary>
 /// Called to optionally override the default text for a context menu item.
 /// |label| contains the default text and may be modified to substitute alternate text.
 /// </summary>
 protected virtual void GetMenuLabel(CefBrowser browser, CefHandlerMenuId menuId, ref string label)
 {
 }
Example #4
0
 /// <summary>
 /// Called to optionally override the default text for a context menu item.
 /// |label| contains the default text and may be modified to substitute alternate text.
 /// </summary>
 protected virtual void GetMenuLabel(CefBrowser browser, CefHandlerMenuId menuId, ref string label)
 {
 }