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

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

Issue 2353033004: [DevTools] Expose left and right toolbar in TabbedPane. (Closed)
Patch Set: review comment Created 4 years, 3 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 7397630d721247c39a2e6b45fe90dfaaee8b22f9..66afc6a1c2bbbb0eeaf860371cf6d23931ba59bd 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
@@ -57,8 +57,6 @@ WebInspector.TabbedEditorContainer = function(delegate, setting, placeholderText
this._tabbedPane.setCloseableTabs(true);
this._tabbedPane.setAllowTabReorder(true, true);
- this._tabbedPane.insertBeforeTabStrip(createElementWithClass("div", "sources-editor-tabstrip-left"));
- this._tabbedPane.appendAfterTabStrip(createElementWithClass("div", "sources-editor-tabstrip-right"));
this._tabbedPane.addEventListener(WebInspector.TabbedPane.Events.TabClosed, this._tabClosed, this);
this._tabbedPane.addEventListener(WebInspector.TabbedPane.Events.TabSelected, this._tabSelected, this);
@@ -106,6 +104,22 @@ WebInspector.TabbedEditorContainer.prototype = {
},
/**
+ * @return {!WebInspector.Toolbar}
+ */
+ leftToolbar: function()
+ {
+ return this._tabbedPane.leftToolbar();
+ },
+
+ /**
+ * @return {!WebInspector.Toolbar}
+ */
+ rightToolbar: function()
+ {
+ return this._tabbedPane.rightToolbar();
+ },
+
+ /**
* @param {!Element} parentElement
*/
show: function(parentElement)

Powered by Google App Engine
This is Rietveld 408576698