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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js

Issue 2080893002: Close all sources command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove alert hi Created 4 years, 6 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
Index: third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
index ff0175e653a389186266aca5e4e5ff1f85821b4e..63c7b708d6453d3b795c05ec30bd20bcf9ac87bc 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
@@ -131,6 +131,11 @@ WebInspector.TabbedEditorContainer.prototype = {
this._closeTabs([tabId]);
},
+ closeAllFiles: function()
+ {
+ this._closeTabs(this._tabbedPane.allTabs());
+ },
+
/**
* @return {!Array.<!WebInspector.UISourceCode>}
*/

Powered by Google App Engine
This is Rietveld 408576698