mac: Add Tray.setHighlightMode API, fixes #425.

This commit is contained in:
Cheng Zhao 2014-09-09 19:39:39 +08:00
parent 4330d67e0d
commit ec1db0c7bb
6 changed files with 18 additions and 0 deletions

View file

@ -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;