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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js

Issue 2458403003: [Devtools] Added default width to canvas timeline in network panel exp (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
index 3a8b8c3cbd30a9e55703ba50c1d48b34bc902ddb..a7538aaaa3554853acfcb43080b70e4319374ba2 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
@@ -452,8 +452,8 @@ WebInspector.NetworkLogViewColumns.prototype = {
this._dataGrid.markColumnAsSortedBy(WebInspector.NetworkLogViewColumns._initialSortColumn, WebInspector.DataGrid.Order.Ascending);
if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) {
- this._splitWidget = new WebInspector.SplitWidget(true, false, "networkPanelSplitViewTimeline");
- this._splitWidget.setSidebarWidget(this._dataGrid.asWidget());
+ this._splitWidget = new WebInspector.SplitWidget(true, true, "networkPanelSplitViewTimeline", 200);
+ this._splitWidget.setMainWidget(this._dataGrid.asWidget());
}
},
@@ -482,7 +482,7 @@ WebInspector.NetworkLogViewColumns.prototype = {
this._createTimelineHeader();
this._timelineColumn.contentElement.classList.add("network-timeline-view");
- this._splitWidget.setMainWidget(this._timelineColumn);
+ this._splitWidget.setSidebarWidget(this._timelineColumn);
this.switchViewMode(false);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698