[Mac] Add app.dock.getBadge() API.

This commit is contained in:
Cheng Zhao 2013-08-06 16:39:31 +08:00
parent b1f88d680b
commit ea1f81aa52
5 changed files with 16 additions and 1 deletions

View file

@ -42,8 +42,9 @@ class Browser : public WindowListObserver {
int DockBounce(BounceType type);
void DockCancelBounce(int request_id);
// Set dock's badge text.
// Set/Get dock's badge text.
void DockSetBadgeText(const std::string& label);
std::string DockGetBadgeText();
#endif // defined(OS_MACOSX)
// Tell the application to open a file.