mac: Add app.dock.hide()/show() APIs, closes #422.
This commit is contained in:
parent
3eecd664b4
commit
8ecc4061a8
5 changed files with 39 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue