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

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

Issue 2623743002: DevTools: extract modules (non-extensions) (Closed)
Patch Set: rebaseline Created 3 years, 11 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/network/EventSourceMessagesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js b/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js
index 00c70bfb27b149e47ab7d3786a88ee2073e3b748..9cf0dc9c7ff167c5a6658b5db5210be8dccf1b22 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js
@@ -14,18 +14,18 @@ Network.EventSourceMessagesView = class extends UI.VBox {
this.element.classList.add('event-source-messages-view');
this._request = request;
- var columns = /** @type {!Array<!UI.DataGrid.ColumnDescriptor>} */ ([
+ var columns = /** @type {!Array<!DataGrid.DataGrid.ColumnDescriptor>} */ ([
{id: 'id', title: Common.UIString('Id'), sortable: true, weight: 8},
{id: 'type', title: Common.UIString('Type'), sortable: true, weight: 8},
{id: 'data', title: Common.UIString('Data'), sortable: false, weight: 88},
{id: 'time', title: Common.UIString('Time'), sortable: true, weight: 8}
]);
- this._dataGrid = new UI.SortableDataGrid(columns);
+ this._dataGrid = new DataGrid.SortableDataGrid(columns);
this._dataGrid.setStickToBottom(true);
- this._dataGrid.markColumnAsSortedBy('time', UI.DataGrid.Order.Ascending);
+ this._dataGrid.markColumnAsSortedBy('time', DataGrid.DataGrid.Order.Ascending);
this._sortItems();
- this._dataGrid.addEventListener(UI.DataGrid.Events.SortingChanged, this._sortItems, this);
+ this._dataGrid.addEventListener(DataGrid.DataGrid.Events.SortingChanged, this._sortItems, this);
this._dataGrid.setName('EventSourceMessagesView');
this._dataGrid.asWidget().show(this.element);
@@ -72,7 +72,7 @@ Network.EventSourceMessagesView = class extends UI.VBox {
/**
* @unrestricted
*/
-Network.EventSourceMessageNode = class extends UI.SortableDataGridNode {
+Network.EventSourceMessageNode = class extends DataGrid.SortableDataGridNode {
/**
* @param {!SDK.NetworkRequest.EventSourceMessage} message
*/

Powered by Google App Engine
This is Rietveld 408576698