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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js

Issue 1763193002: [DevTools] Fix more frontend compiler errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@caseq-patch
Patch Set: Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js ('k') | 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/ui_lazy/DataGrid.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js
index 07724d12ffa00cfded7327c5896e5b13f086781d..046a2b5d89f0bf23b1c087ad5b80f47b54552bd6 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js
@@ -159,8 +159,23 @@ WebInspector.DataGrid = function(columnsArray, editCallback, deleteCallback, ref
// Keep in sync with .data-grid col.corner style rule.
WebInspector.DataGrid.CornerWidth = 14;
-/** @typedef {!{id: ?string, editable: boolean, longText: ?boolean, sort: !WebInspector.DataGrid.Order, sortable: boolean, align: !WebInspector.DataGrid.Align, nonSelectable: boolean}} */
-WebInspector.DataGrid.ColumnDescriptor;
+/**
+ * @constructor
+ */
+WebInspector.DataGrid.ColumnDescriptor = function()
+{
+ /** @type {string} */ this.id;
+ /** @type {string} */ this.title;
+ /** @type {string} */ this.width;
+ /** @type {boolean} */ this.fixedWidth;
+ /** @type {boolean} */ this.sortable;
+ /** @type {?WebInspector.DataGrid.Order|undefined} */ this.sort;
+ /** @type {?WebInspector.DataGrid.Align|undefined} */ this.align;
+ /** @type {boolean|undefined} */ this.editable;
+ /** @type {boolean|undefined} */ this.nonSelectable;
+ /** @type {boolean|undefined} */ this.longText;
+ /** @type {boolean|undefined} */ this.disclosure;
+}
WebInspector.DataGrid.Events = {
SelectedNode: "SelectedNode",
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698