| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 } | 637 } |
| 638 | 638 |
| 639 var dataGridContainer = element.createChild("span"); | 639 var dataGridContainer = element.createChild("span"); |
| 640 if (!preview.lossless || !flatValues.length) { | 640 if (!preview.lossless || !flatValues.length) { |
| 641 element.appendChild(this._formatParameter(table, true, false)); | 641 element.appendChild(this._formatParameter(table, true, false)); |
| 642 if (!flatValues.length) | 642 if (!flatValues.length) |
| 643 return element; | 643 return element; |
| 644 } | 644 } |
| 645 | 645 |
| 646 columnNames.unshift(WebInspector.UIString("(index)")); | 646 columnNames.unshift(WebInspector.UIString("(index)")); |
| 647 var dataGrid = WebInspector.DataGrid.createSortableDataGrid(columnNames,
flatValues); | 647 var dataGrid = WebInspector.SortableDataGrid.create(columnNames, flatVal
ues); |
| 648 dataGrid.renderInline(); | 648 dataGrid.renderInline(); |
| 649 this._dataGrids.push(dataGrid); | 649 this._dataGrids.push(dataGrid); |
| 650 this._dataGridParents.put(dataGrid, dataGridContainer); | 650 this._dataGridParents.put(dataGrid, dataGridContainer); |
| 651 return element; | 651 return element; |
| 652 }, | 652 }, |
| 653 | 653 |
| 654 /** | 654 /** |
| 655 * @param {!WebInspector.RemoteObject} output | 655 * @param {!WebInspector.RemoteObject} output |
| 656 * @param {!Element} elem | 656 * @param {!Element} elem |
| 657 */ | 657 */ |
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 { | 1258 { |
| 1259 if (!this._wrapperElement) { | 1259 if (!this._wrapperElement) { |
| 1260 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this
); | 1260 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this
); |
| 1261 this._wrapperElement.classList.toggle("collapsed", this._collapsed); | 1261 this._wrapperElement.classList.toggle("collapsed", this._collapsed); |
| 1262 } | 1262 } |
| 1263 return this._wrapperElement; | 1263 return this._wrapperElement; |
| 1264 }, | 1264 }, |
| 1265 | 1265 |
| 1266 __proto__: WebInspector.ConsoleViewMessage.prototype | 1266 __proto__: WebInspector.ConsoleViewMessage.prototype |
| 1267 } | 1267 } |
| OLD | NEW |