mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: Support top menu switching with mouse and arrow keys (issue #2102)
- cefclient: Add example ViewsMenuBar implementation and show top menu by default (specify `--hide-top-menu` to hide it).
This commit is contained in:
@ -58,6 +58,11 @@ typedef struct _cef_menu_model_t {
|
||||
///
|
||||
cef_base_ref_counted_t base;
|
||||
|
||||
///
|
||||
// Returns true (1) if this menu is a submenu.
|
||||
///
|
||||
int (CEF_CALLBACK *is_sub_menu)(struct _cef_menu_model_t* self);
|
||||
|
||||
///
|
||||
// Clears the menu. Returns true (1) on success.
|
||||
///
|
||||
|
Reference in New Issue
Block a user