Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| index 0961e6d5b7d32596f57ea190eba58f5130c9355f..5c27eab6d23da1686e01461592adfbe722098b6f 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js |
| @@ -427,6 +427,8 @@ WebInspector.NetworkPanel.prototype = { |
| if (request) { |
| this._networkItemView = new WebInspector.NetworkItemView(request, this._networkLogView.timeCalculator()); |
| + if (Runtime.experiments.isEnabled("canvasNetworkTimeline")) |
|
dgozman
2016/10/08 00:36:41
I think is not needed anymore.
allada
2016/10/08 01:09:01
Done.
|
| + this._splitWidget.setMainWidget(this._detailsWidget); |
| this._networkItemView.leftToolbar().appendToolbarItem(new WebInspector.ToolbarItem(this._closeButtonElement)); |
| this._networkItemView.show(this._detailsWidget.element); |
| this._splitWidget.showBoth(); |
| @@ -440,7 +442,7 @@ WebInspector.NetworkPanel.prototype = { |
| _updateUI: function() |
| { |
| this._detailsWidget.element.classList.toggle("network-details-view-tall-header", this._networkLogLargeRowsSetting.get()); |
| - this._networkLogView.switchViewMode(!this._splitWidget.isResizable()); |
| + this._networkLogView.switchViewMode(!this._networkItemView); |
|
dgozman
2016/10/08 00:36:41
And this can be reverted as well.
allada
2016/10/08 01:09:01
Done.
|
| }, |
| /** |