check if window is html or forced fullscreen

This commit is contained in:
deepak1556 2015-05-19 14:06:19 +05:30
parent f2d91bc53c
commit 0dcf061dc1
6 changed files with 35 additions and 4 deletions

View file

@ -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]?