Add app.dock.setIcon to change icon of dock
This commit is contained in:
parent
31624995bc
commit
7229d2462a
5 changed files with 23 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue