Remove bogus parts of IUIElement interface

As an external, abstract interface, the constructor doesn't do
anything.  The members in it were parts of the base class
shaka.ui.Element, which implementations of IUIElement can still
inherit from.

In fact, there is not much reason to have this empty IUIElement
interface now, but we'll keep it for now to avoid breaking compiled
applications.

Change-Id: I5687b281be523c29656b5c51e63628ba164cf1b3
This commit is contained in:
Joey Parrish
2020-05-01 17:38:56 -07:00
parent 7c189a5b39
commit 89059f81e5
+1 -45
View File
@@ -145,51 +145,7 @@ shaka.extern.UIConfiguration;
* @exportDoc
*/
shaka.extern.IUIElement = class {
/**
* @param {!HTMLElement} parent
* @param {!shaka.ui.Controls} controls
*/
constructor(parent, controls) {
/**
* @protected {HTMLElement}
* @exportDoc
*/
this.parent;
/**
* @protected {shaka.ui.Controls}
* @exportDoc
*/
this.controls;
/**
* @protected {shaka.util.EventManager}
* @exportDoc
*/
this.eventManager;
/**
* @protected {shaka.ui.Localization}
* @exportDoc
*/
this.localization;
/**
* @protected {shaka.Player}
* @exportDoc
*/
this.player;
/**
* @protected {HTMLMediaElement}
* @exportDoc
*/
this.video;
}
/**
* @override
*/
/** @override */
release() {}
};