Emit "new-window" event for dispositions other than CURRENT_TAB

This commit is contained in:
Cheng Zhao 2014-11-04 17:59:15 +08:00
parent 77724345c4
commit 013593ccf8
6 changed files with 29 additions and 9 deletions

View file

@ -10,7 +10,7 @@ WEB_VIEW_EVENTS =
'did-stop-loading': []
'did-get-redirect-request': ['oldUrl', 'newUrl', 'isMainFrame']
'console-message': ['level', 'message', 'line', 'sourceId']
'new-window': ['url', 'frameName']
'new-window': ['url', 'frameName', 'disposition']
'close': []
'crashed': []
'destroyed': []