[Mac] Add app.dock.getBadge() API.
This commit is contained in:
parent
b1f88d680b
commit
ea1f81aa52
5 changed files with 16 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue