mac: Add Tray.setTitle API, fixes #560.

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

View file

@ -31,6 +31,10 @@ class TrayIcon {
// status icon (e.g. Ubuntu Unity).
virtual void SetToolTip(const std::string& tool_tip) = 0;
// Sets the title displayed aside of the status icon in the status bar. This
// only works on OS X.
virtual void SetTitle(const std::string& title);
// Set the context menu for this icon.
virtual void SetContextMenu(ui::SimpleMenuModel* menu_model) = 0;