| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 }; | 349 }; |
| 350 | 350 |
| 351 WebInspector.IDBDataGridNode.prototype = { | 351 WebInspector.IDBDataGridNode.prototype = { |
| 352 /** | 352 /** |
| 353 * @override | 353 * @override |
| 354 * @return {!Element} | 354 * @return {!Element} |
| 355 */ | 355 */ |
| 356 createCell: function(columnIdentifier) | 356 createCell: function(columnIdentifier) |
| 357 { | 357 { |
| 358 var cell = WebInspector.DataGridNode.prototype.createCell.call(this, col
umnIdentifier); | 358 var cell = WebInspector.DataGridNode.prototype.createCell.call(this, col
umnIdentifier); |
| 359 var value = this.data[columnIdentifier]; | 359 var value = /** @type {!WebInspector.RemoteObject} */ (this.data[columnI
dentifier]); |
| 360 | 360 |
| 361 switch (columnIdentifier) { | 361 switch (columnIdentifier) { |
| 362 case "value": | 362 case "value": |
| 363 case "key": | 363 case "key": |
| 364 case "primaryKey": | 364 case "primaryKey": |
| 365 cell.removeChildren(); | 365 cell.removeChildren(); |
| 366 var objectElement = WebInspector.ObjectPropertiesSection.defaultObje
ctPresentation(value, undefined, true); | 366 var objectElement = WebInspector.ObjectPropertiesSection.defaultObje
ctPresentation(value, undefined, true); |
| 367 cell.appendChild(objectElement); | 367 cell.appendChild(objectElement); |
| 368 break; | 368 break; |
| 369 default: | 369 default: |
| 370 } | 370 } |
| 371 | 371 |
| 372 return cell; | 372 return cell; |
| 373 }, | 373 }, |
| 374 | 374 |
| 375 __proto__: WebInspector.DataGridNode.prototype | 375 __proto__: WebInspector.DataGridNode.prototype |
| 376 }; | 376 }; |
| OLD | NEW |