Merge pull request #1616 from deepak1556/webview_fullscreen_patch
webContents: override fullscreen notification apis for webview
This commit is contained in:
commit
fd41f1e8bc
11 changed files with 114 additions and 3 deletions
|
@ -22,6 +22,8 @@ WEB_VIEW_EVENTS =
|
|||
'destroyed': []
|
||||
'page-title-set': ['title', 'explicitSet']
|
||||
'page-favicon-updated': ['favicons']
|
||||
'enter-html-full-screen': []
|
||||
'leave-html-full-screen': []
|
||||
|
||||
dispatchEvent = (webView, event, args...) ->
|
||||
throw new Error("Unkown event #{event}") unless WEB_VIEW_EVENTS[event]?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue