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

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

Issue 2745433004: Revert of webrtc-internals: dont remove tab (Closed)
Patch Set: Created 3 years, 9 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/webrtc_internals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resources/media/tab_view.js
diff --git a/content/browser/resources/media/tab_view.js b/content/browser/resources/media/tab_view.js
index ca205091c18eec77f33ee8794bad0a28655b658d..84897f5fb3809bc4f6fc976753952708e6b2bc1c 100644
--- a/content/browser/resources/media/tab_view.js
+++ b/content/browser/resources/media/tab_view.js
@@ -85,17 +85,6 @@
}
},
- makeTabRemovable: function(id) {
- if (!this.tabElements_[id])
- return;
- var close = document.createElement('a');
- close.textContent = '[x]';
- close.addEventListener('click', function() {
- this.removeTab(id);
- }.bind(this));
- this.tabElements_[id].head.appendChild(close);
- },
-
/**
* Switches the specified tab into view.
*
« no previous file with comments | « no previous file | content/browser/resources/media/webrtc_internals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698