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:
@@ -62,6 +62,12 @@ typedef struct _cef_button_delegate_t {
|
||||
///
|
||||
void (CEF_CALLBACK *on_button_pressed)(struct _cef_button_delegate_t* self,
|
||||
struct _cef_button_t* button);
|
||||
|
||||
///
|
||||
// Called when the state of |button| changes.
|
||||
///
|
||||
void (CEF_CALLBACK *on_button_state_changed)(
|
||||
struct _cef_button_delegate_t* self, struct _cef_button_t* button);
|
||||
} cef_button_delegate_t;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user