Add app.dock.setIcon to change icon of dock

This commit is contained in:
ragingwind 2016-01-24 08:30:14 +09:00
parent 31624995bc
commit 7229d2462a
5 changed files with 23 additions and 1 deletions

View file

@ -27,6 +27,10 @@ namespace ui {
class MenuModel;
}
namespace gfx {
class Image;
}
namespace atom {
class LoginHandler;
@ -91,6 +95,9 @@ class Browser : public WindowListObserver {
// Set docks' menu.
void DockSetMenu(ui::MenuModel* model);
// Set docks' icon.
void DockSetIcon(const gfx::Image& image);
#endif // defined(OS_MACOSX)
#if defined(OS_WIN)