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

Unified Diff: Source/devtools/front_end/DataGrid.js

Issue 187703002: DevTools: Prepare for recursive viewport in datagrid (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « no previous file | Source/devtools/front_end/HeapSnapshotDataGrids.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/DataGrid.js
diff --git a/Source/devtools/front_end/DataGrid.js b/Source/devtools/front_end/DataGrid.js
index 24d650e1ece2b64eb1476bd7ec594ae22994fa25..c9b991c238981f84557f21e64ebb590a5c2ee1ee 100644
--- a/Source/devtools/front_end/DataGrid.js
+++ b/Source/devtools/front_end/DataGrid.js
@@ -1168,6 +1168,8 @@ WebInspector.DataGridNode = function(data, hasChildren)
this.disclosureToggleWidth = 10;
}
+WebInspector.DataGridNode.NodeShallowHeight = 16;
+
WebInspector.DataGridNode.prototype = {
/** @type {boolean} */
selectable: true,
@@ -1394,7 +1396,7 @@ WebInspector.DataGridNode.prototype = {
*/
nodeHeight: function()
{
- var rowHeight = 16;
+ var rowHeight = WebInspector.DataGridNode.NodeShallowHeight;
if (!this.revealed)
return 0;
if (!this.expanded)
« no previous file with comments | « no previous file | Source/devtools/front_end/HeapSnapshotDataGrids.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698