| 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 if (obj.type === "function") { | 416 if (obj.type === "function") { |
| 417 WebInspector.ObjectPropertiesSection.formatObjectAsFunction(obj,
titleElement, false); | 417 WebInspector.ObjectPropertiesSection.formatObjectAsFunction(obj,
titleElement, false); |
| 418 titleElement.classList.add("object-value-function"); | 418 titleElement.classList.add("object-value-function"); |
| 419 } else { | 419 } else { |
| 420 titleElement.createTextChild(obj.description || ""); | 420 titleElement.createTextChild(obj.description || ""); |
| 421 } | 421 } |
| 422 } | 422 } |
| 423 var note = titleElement.createChild("span", "object-state-note"); | 423 var note = titleElement.createChild("span", "object-state-note"); |
| 424 note.classList.add("info-note"); | 424 note.classList.add("info-note"); |
| 425 note.title = WebInspector.UIString("Object value at left was snapshotted
when logged, value below was evaluated just now."); | 425 note.title = WebInspector.UIString("Object value at left was snapshotted
when logged, value below was evaluated just now."); |
| 426 var section = new WebInspector.ObjectPropertiesSection(obj, titleElement
); | 426 var section = new WebInspector.ObjectPropertiesSection(obj, titleElement
, this._linkifier); |
| 427 section.enableContextMenu(); | 427 section.enableContextMenu(); |
| 428 elem.appendChild(section.element); | 428 elem.appendChild(section.element); |
| 429 section.element.classList.add("console-view-object-properties-section"); | 429 section.element.classList.add("console-view-object-properties-section"); |
| 430 }, | 430 }, |
| 431 | 431 |
| 432 /** | 432 /** |
| 433 * @param {!WebInspector.RemoteObject} func | 433 * @param {!WebInspector.RemoteObject} func |
| 434 * @param {!Element} element | 434 * @param {!Element} element |
| 435 * @param {boolean=} includePreview | 435 * @param {boolean=} includePreview |
| 436 */ | 436 */ |
| (...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1332 { | 1332 { |
| 1333 if (!this._wrapperElement) { | 1333 if (!this._wrapperElement) { |
| 1334 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this
); | 1334 WebInspector.ConsoleViewMessage.prototype.toMessageElement.call(this
); |
| 1335 this._wrapperElement.classList.toggle("collapsed", this._collapsed); | 1335 this._wrapperElement.classList.toggle("collapsed", this._collapsed); |
| 1336 } | 1336 } |
| 1337 return this._wrapperElement; | 1337 return this._wrapperElement; |
| 1338 }, | 1338 }, |
| 1339 | 1339 |
| 1340 __proto__: WebInspector.ConsoleViewMessage.prototype | 1340 __proto__: WebInspector.ConsoleViewMessage.prototype |
| 1341 } | 1341 } |
| OLD | NEW |