Add Tray.displayBallon API

This commit is contained in:
Cheng Zhao 2014-11-28 18:39:30 +08:00
parent 2650e34867
commit 8097cb2b9e
2 changed files with 21 additions and 0 deletions

View file

@ -17,6 +17,7 @@ class ImageSkia;
namespace mate {
class Arguments;
class Dictionary;
}
namespace atom {
@ -49,6 +50,7 @@ class Tray : public mate::EventEmitter,
void SetToolTip(mate::Arguments* args, const std::string& tool_tip);
void SetTitle(mate::Arguments* args, const std::string& title);
void SetHighlightMode(mate::Arguments* args, bool highlight);
void DisplayBalloon(mate::Arguments* args, const mate::Dictionary& options);
void SetContextMenu(mate::Arguments* args, Menu* menu);
private: