Add fullscreen API support to IE11

This commit is contained in:
Frederic Junod
2014-02-26 15:18:14 +01:00
parent 5a940c207a
commit ac9fe664e0
5 changed files with 175 additions and 11 deletions

View File

@@ -36,3 +36,19 @@ DeviceOrientationEvent.prototype.webkitCompassAccuracy;
/** @type {?number} */
DeviceOrientationEvent.prototype.webkitCompassHeading;
// IE 11 fullscreen API
// http://msdn.microsoft.com/en-us/library/ie/dn265028(v=vs.85).aspx
/** @return {void} */
Element.prototype.msRequestFullscreen = function() {};
/** @return {void} */
Element.prototype.msExitFullscreen = function() {};
/** @type {boolean} */
Document.prototype.msFullscreenEnabled;
/** @type {Element} */
Document.prototype.msFullscreenElement;