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

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

Issue 2401353004: Merge to 2883 "[DevTools] Support top/bottom show sidebar button." (Closed)
Patch Set: Created 4 years, 2 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 b857a2574907eee740aee6775a6f35fbc9b917b8..887d3164eaa676cb50faf858447994ed50b28efc 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -48,6 +48,8 @@ WebInspector.SourcesView = function()
this._toolbarEditorActions.appendToolbarItem(actions[i].button(this));
}
this._scriptViewToolbar = new WebInspector.Toolbar("", this._toolbarContainerElement);
+ this._toolbarContainerElement.createChild("div", "sources-toolbar-spacer");
+ this._bottomToolbar = new WebInspector.Toolbar("", this._toolbarContainerElement);
WebInspector.startBatchUpdate();
workspace.uiSourceCodes().forEach(this._addUISourceCode.bind(this));
@@ -148,6 +150,14 @@ WebInspector.SourcesView.prototype = {
},
/**
+ * @return {!WebInspector.Toolbar}
+ */
+ bottomToolbar: function()
+ {
+ return this._bottomToolbar;
+ },
+
+ /**
* @param {!Array.<!WebInspector.KeyboardShortcut.Descriptor>} keys
* @param {function(!Event=):boolean} handler
*/

Powered by Google App Engine
This is Rietveld 408576698