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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.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/resources/IndexedDBViews.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
index b68d654a4f0b182c172f9567ef2abc903f751096..9c4c429f65a249c7ec3d7c57f848702110fcbb43 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
@@ -112,12 +112,12 @@ Resources.IDBDataView = class extends UI.SimpleView {
}
/**
- * @return {!UI.DataGrid}
+ * @return {!DataGrid.DataGrid}
*/
_createDataGrid() {
var keyPath = this._isIndex ? this._index.keyPath : this._objectStore.keyPath;
- var columns = /** @type {!Array<!UI.DataGrid.ColumnDescriptor>} */ ([]);
+ var columns = /** @type {!Array<!DataGrid.DataGrid.ColumnDescriptor>} */ ([]);
columns.push({id: 'number', title: Common.UIString('#'), sortable: false, width: '50px'});
columns.push(
{id: 'key', titleDOMFragment: this._keyColumnHeaderFragment(Common.UIString('Key'), keyPath), sortable: false});
@@ -130,7 +130,7 @@ Resources.IDBDataView = class extends UI.SimpleView {
}
columns.push({id: 'value', title: Common.UIString('Value'), sortable: false});
- var dataGrid = new UI.DataGrid(columns);
+ var dataGrid = new DataGrid.DataGrid(columns);
return dataGrid;
}
@@ -340,7 +340,7 @@ Resources.IDBDataView = class extends UI.SimpleView {
/**
* @unrestricted
*/
-Resources.IDBDataGridNode = class extends UI.DataGridNode {
+Resources.IDBDataGridNode = class extends DataGrid.DataGridNode {
/**
* @param {!Object.<string, *>} data
*/

Powered by Google App Engine
This is Rietveld 408576698