Skip to content

Commit

Permalink
Add API types
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Feb 6, 2023
1 parent 03f39d6 commit ded9042
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions externs/pictureinpicture.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,21 @@ HTMLMediaElement.prototype.webkitSupportsPresentationMode = function(mode) {};

/** @type {string} */
HTMLMediaElement.prototype.webkitPresentationMode;


/** @const */
var documentPictureInPicture = {};


/**
* @return {!Promise}
*/
documentPictureInPicture.prototype.requestWindow = function(options) {};


/** @type {Window} */
documentPictureInPicture.prototype.window;


/** @type {?function(!Event)} */
documentPictureInPicture.prototype.onenter;

0 comments on commit ded9042

Please sign in to comment.