Add "dev-tools-opened" and "dev-tools-closed" events.

This commit is contained in:
Cheng Zhao 2014-08-28 14:25:00 +08:00
parent 8051ad8b2a
commit a59388ecdd
2 changed files with 12 additions and 0 deletions

View file

@ -138,6 +138,14 @@ Emitted when window loses focus.
Emitted when window gains focus.
### Event: 'dev-tools-opened'
Emitted when devtools is opened.
### Event: 'dev-tools-closed'
Emitted when devtools is closed.
### Class Method: BrowserWindow.getAllWindows()
Returns an array of all opened browser windows.