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

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: 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..2b22a69f0faf972fac4a85895fcdeb92f7031877 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,10 @@ WebInspector.TabbedEditorContainer.prototype = {
this._closeTabs([tabId]);
},
+ closeAllTabs: function(){
dgozman 2016/06/20 18:32:36 closeAllFiles to be consistent with the rest.
dgozman 2016/06/20 18:32:36 style: { on next line
einbinder 2016/06/20 19:28:24 Done.
einbinder 2016/06/20 19:28:24 Done.
+ this._tabbedPane.closeAllTabs();
dgozman 2016/06/20 18:32:36 Should call this._closeTabs(...) instead.
einbinder 2016/06/20 19:28:24 Done.
+ },
+
/**
* @return {!Array.<!WebInspector.UISourceCode>}
*/

Powered by Google App Engine
This is Rietveld 408576698