mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
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:
+1
-45
@@ -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() {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user