mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 153668.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@748 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -70,7 +70,8 @@ typedef struct _cef_menu_model_t {
|
||||
//
|
||||
// Add a separator to the menu. Returns true (1) on success.
|
||||
///
|
||||
int (CEF_CALLBACK *add_separator)(struct _cef_menu_model_t* self);
|
||||
int (CEF_CALLBACK *add_separator)(struct _cef_menu_model_t* self,
|
||||
enum cef_menu_separator_type_t type);
|
||||
|
||||
//
|
||||
// Add an item to the menu. Returns true (1) on success.
|
||||
@ -103,7 +104,7 @@ typedef struct _cef_menu_model_t {
|
||||
// on success.
|
||||
///
|
||||
int (CEF_CALLBACK *insert_separator_at)(struct _cef_menu_model_t* self,
|
||||
int index);
|
||||
int index, enum cef_menu_separator_type_t type);
|
||||
|
||||
//
|
||||
// Insert an item in the menu at the specified |index|. Returns true (1) on
|
||||
@ -205,6 +206,12 @@ typedef struct _cef_menu_model_t {
|
||||
enum cef_menu_item_type_t (CEF_CALLBACK *get_type_at)(
|
||||
struct _cef_menu_model_t* self, int index);
|
||||
|
||||
///
|
||||
// Returns the separator type at the specified |index|.
|
||||
///
|
||||
enum cef_menu_separator_type_t (CEF_CALLBACK *get_separator_type_at)(
|
||||
struct _cef_menu_model_t* self, int index);
|
||||
|
||||
///
|
||||
// Returns the group id for the specified |command_id| or -1 if invalid.
|
||||
///
|
||||
|
Reference in New Issue
Block a user