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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 /** @type {!Map.<!WebInspector.DataGrid, ?Element>} */ | 48 /** @type {!Map.<!WebInspector.DataGrid, ?Element>} */ |
49 this._dataGridParents = new Map(); | 49 this._dataGridParents = new Map(); |
50 | 50 |
51 /** @type {!Object.<string, function(!WebInspector.RemoteObject, !Element, b
oolean=)>} */ | 51 /** @type {!Object.<string, function(!WebInspector.RemoteObject, !Element, b
oolean=)>} */ |
52 this._customFormatters = { | 52 this._customFormatters = { |
53 "object": this._formatParameterAsObject, | 53 "object": this._formatParameterAsObject, |
54 "array": this._formatParameterAsArray, | 54 "array": this._formatParameterAsArray, |
55 "node": this._formatParameterAsNode, | 55 "node": this._formatParameterAsNode, |
56 "map": this._formatParameterAsObject, | 56 "map": this._formatParameterAsObject, |
57 "set": this._formatParameterAsObject, | 57 "set": this._formatParameterAsObject, |
| 58 "iterator": this._formatParameterAsObject, |
58 "string": this._formatParameterAsString | 59 "string": this._formatParameterAsString |
59 }; | 60 }; |
60 } | 61 } |
61 | 62 |
62 WebInspector.ConsoleViewMessage.prototype = { | 63 WebInspector.ConsoleViewMessage.prototype = { |
63 /** | 64 /** |
64 * @return {?WebInspector.Target} | 65 * @return {?WebInspector.Target} |
65 */ | 66 */ |
66 _target: function() | 67 _target: function() |
67 { | 68 { |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1380 { | 1381 { |
1381 if (!this._wrapperElement) { | 1382 if (!this._wrapperElement) { |
1382 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this
); | 1383 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this
); |
1383 this._wrapperElement.classList.toggle("collapsed", this._collapsed); | 1384 this._wrapperElement.classList.toggle("collapsed", this._collapsed); |
1384 } | 1385 } |
1385 return this._wrapperElement; | 1386 return this._wrapperElement; |
1386 }, | 1387 }, |
1387 | 1388 |
1388 __proto__: WebInspector.ConsoleViewMessage.prototype | 1389 __proto__: WebInspector.ConsoleViewMessage.prototype |
1389 } | 1390 } |
OLD | NEW |