| 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 88a6af5f5e541267c0753f132bc4bd7ca1f0f824..3a8b8c3cbd30a9e55703ba50c1d48b34bc902ddb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
|
| @@ -461,6 +461,7 @@ WebInspector.NetworkLogViewColumns.prototype = {
|
| {
|
| this._timelineColumn = new WebInspector.NetworkTimelineColumn(this._networkLogView.rowHeight(), this._networkLogView.calculator());
|
|
|
| + this._timelineColumn.element.addEventListener("contextmenu", handleContextMenu.bind(this));
|
| this._timelineColumn.element.addEventListener("mousewheel", this._onMouseWheel.bind(this, false), { passive: true });
|
| this._dataGridScroller.addEventListener("mousewheel",this._onMouseWheel.bind(this, true), true);
|
|
|
| @@ -484,6 +485,19 @@ WebInspector.NetworkLogViewColumns.prototype = {
|
| this._splitWidget.setMainWidget(this._timelineColumn);
|
|
|
| this.switchViewMode(false);
|
| +
|
| + /**
|
| + * @param {!Event} event
|
| + * @this {WebInspector.NetworkLogViewColumns}
|
| + */
|
| + function handleContextMenu(event)
|
| + {
|
| + var request = this._timelineColumn.getRequestFromPoint(event.offsetX, event.offsetY);
|
| + if (!request)
|
| + return;
|
| + var contextMenu = new WebInspector.ContextMenu(event);
|
| + this._networkLogView.handleContextMenuForRequest(contextMenu, request);
|
| + }
|
| },
|
|
|
| /**
|
|
|