| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. | 2 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Lesser General Public | 5 * modify it under the terms of the GNU Lesser General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 nodeSelfHeight: function() | 235 nodeSelfHeight: function() |
| 236 { | 236 { |
| 237 return 17; | 237 return 17; |
| 238 }, | 238 }, |
| 239 | 239 |
| 240 /** | 240 /** |
| 241 * @return {!WebInspector.ContentProvider} | 241 * @return {!WebInspector.ContentProvider} |
| 242 */ | 242 */ |
| 243 contentProvider: function() | 243 contentProvider: function() |
| 244 { | 244 { |
| 245 return new WebInspector.StaticContentProvider(WebInspector.resourceTypes
.WebSocket, this._dataText, this._url); | 245 return new WebInspector.StaticContentProvider(this._url, WebInspector.re
sourceTypes.WebSocket, Promise.resolve(this._dataText)); |
| 246 }, | 246 }, |
| 247 | 247 |
| 248 __proto__: WebInspector.SortableDataGridNode.prototype | 248 __proto__: WebInspector.SortableDataGridNode.prototype |
| 249 } | 249 } |
| 250 | 250 |
| 251 /** | 251 /** |
| 252 * @param {!WebInspector.ResourceWebSocketFrameNode} a | 252 * @param {!WebInspector.ResourceWebSocketFrameNode} a |
| 253 * @param {!WebInspector.ResourceWebSocketFrameNode} b | 253 * @param {!WebInspector.ResourceWebSocketFrameNode} b |
| 254 * @return {number} | 254 * @return {number} |
| 255 */ | 255 */ |
| 256 WebInspector.ResourceWebSocketFrameNodeTimeComparator = function(a, b) | 256 WebInspector.ResourceWebSocketFrameNodeTimeComparator = function(a, b) |
| 257 { | 257 { |
| 258 return a._frame.time - b._frame.time; | 258 return a._frame.time - b._frame.time; |
| 259 } | 259 } |
| OLD | NEW |