Merge pull request #1106 from paulcbetts/set-overlay-icon

Set window overlay icon
This commit is contained in:
Cheng Zhao 2015-02-11 11:51:01 +08:00
commit 6b37f30bd6
8 changed files with 54 additions and 1 deletions

View file

@ -540,6 +540,15 @@ On Linux platform, only supports Unity desktop environment, you need to specify
the `*.desktop` file name to `desktopName` field in `package.json`. By default,
it will assume `app.getName().desktop`.
### BrowserWindow.setOverlayIcon(overlay, description)
* `overlay` [Image](image.md) - the icon to display on the bottom right corner of the Taskbar icon. If this parameter is `null`, the overlay is cleared.
* `description` String - a description that will be provided to Accessibility screenreaders
Sets a 16px overlay onto the current Taskbar icon, usually used to convey some sort of application status or to passively notify the user.
__Note:__ This API is only available on Windows, Win7 or above
### BrowserWindow.showDefinitionForSelection()
Shows pop-up dictionary that searches the selected word on the page.