Add role property for MenuItem
This commit is contained in:
parent
dd2ed559cf
commit
d830badc57
9 changed files with 89 additions and 38 deletions
|
@ -73,6 +73,7 @@ class Menu : public mate::Wrappable,
|
|||
Menu* menu);
|
||||
void SetIcon(int index, const gfx::Image& image);
|
||||
void SetSublabel(int index, const base::string16& sublabel);
|
||||
void SetRole(int index, const base::string16& role);
|
||||
void Clear();
|
||||
int GetIndexOfCommandId(int command_id);
|
||||
int GetItemCount() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue