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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesView.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/SourcesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
index 660ef8337440a1872046011e3ed7ef307a75da60..21ee1c4e428476da7854038d60fb4c298a4f892d 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -111,6 +111,22 @@ WebInspector.SourcesView.prototype = {
},
/**
+ * @return {!WebInspector.Toolbar}
+ */
+ leftToolbar: function()
+ {
+ return this._editorContainer.leftToolbar();
+ },
+
+ /**
+ * @return {!WebInspector.Toolbar}
+ */
+ rightToolbar: function()
+ {
+ return this._editorContainer.rightToolbar();
+ },
+
+ /**
* @param {!Array.<!WebInspector.KeyboardShortcut.Descriptor>} keys
* @param {function(!Event=):boolean} handler
*/
@@ -782,4 +798,4 @@ WebInspector.SourcesView.CloseAllActionDelegate.prototype = {
sourcesView._editorContainer.closeAllFiles();
return true;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698