mac: Add app.dock.hide()/show() APIs, closes #422.

This commit is contained in:
Cheng Zhao 2014-06-25 11:55:33 +08:00
parent 3eecd664b4
commit 8ecc4061a8
5 changed files with 39 additions and 1 deletions

View file

@ -56,6 +56,10 @@ class Browser : public WindowListObserver {
// Set/Get dock's badge text.
void DockSetBadgeText(const std::string& label);
std::string DockGetBadgeText();
// Hide/Show dock.
void DockHide();
void DockShow();
#endif // defined(OS_MACOSX)
// Tell the application to open a file.