mac: Add Tray.setHighlightMode API, fixes #425.
This commit is contained in:
parent
4330d67e0d
commit
ec1db0c7bb
6 changed files with 18 additions and 0 deletions
|
@ -35,6 +35,10 @@ class TrayIcon {
|
|||
// only works on OS X.
|
||||
virtual void SetTitle(const std::string& title);
|
||||
|
||||
// Sets whether the status icon is highlighted when it is clicked. This only
|
||||
// works on OS X.
|
||||
virtual void SetHighlightMode(bool highlight);
|
||||
|
||||
// Set the context menu for this icon.
|
||||
virtual void SetContextMenu(ui::SimpleMenuModel* menu_model) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue