Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7174)

Unified Diff: content/browser/resources/media/manager.js

Issue 2682013002: Revert of media: Add "Hide players" button in about://media-internals (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/resources/media/media_internals.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resources/media/manager.js
diff --git a/content/browser/resources/media/manager.js b/content/browser/resources/media/manager.js
index 3258e42e7618737f9ca6186d1bb0ceb3af3cee39..27f6b990eddf7568c2de03cef99694753e4f5263 100644
--- a/content/browser/resources/media/manager.js
+++ b/content/browser/resources/media/manager.js
@@ -16,9 +16,6 @@
this.players_ = {};
this.audioComponents_ = [];
this.clientRenderer_ = clientRenderer;
-
- this.hidePlayersButton = document.getElementById('hide-players-button');
- this.hidePlayersButton.onclick = this.hidePlayers_.bind(this);
}
Manager.prototype = {
@@ -79,12 +76,6 @@
var playerRemoved = this.players_[id];
delete this.players_[id];
this.clientRenderer_.playerRemoved(this.players_, playerRemoved);
- },
-
- hidePlayers_: function() {
- util.object.forEach(this.players_, function(playerInfo, id) {
- this.removePlayer(id);
- }, this);
},
updatePlayerInfoNoRecord: function(id, timestamp, key, value) {
« no previous file with comments | « no previous file | content/browser/resources/media/media_internals.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698