| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 * @constructor | 31 * @constructor |
| 32 * @extends {WebInspector.Section} | 32 * @extends {WebInspector.Section} |
| 33 * @param {string|!Element} title | 33 * @param {string|!Element} title |
| 34 * @param {string=} subtitle | 34 * @param {string=} subtitle |
| 35 */ | 35 */ |
| 36 WebInspector.PropertiesSection = function(title, subtitle) | 36 WebInspector.PropertiesSection = function(title, subtitle) |
| 37 { | 37 { |
| 38 WebInspector.Section.call(this, title, subtitle); | 38 WebInspector.Section.call(this, title, subtitle); |
| 39 | 39 |
| 40 this.headerElement.classList.add("monospace"); | 40 this.headerElement.classList.add("monospace"); |
| 41 this.propertiesElement = document.createElement("ol"); | 41 this.propertiesElement = createElement("ol"); |
| 42 this.propertiesElement.className = "properties properties-tree monospace"; | 42 this.propertiesElement.className = "properties properties-tree monospace"; |
| 43 this.propertiesTreeOutline = new TreeOutline(this.propertiesElement, true); | 43 this.propertiesTreeOutline = new TreeOutline(this.propertiesElement, true); |
| 44 this.propertiesTreeOutline.setFocusable(false); | 44 this.propertiesTreeOutline.setFocusable(false); |
| 45 this.propertiesTreeOutline.section = this; | 45 this.propertiesTreeOutline.section = this; |
| 46 | 46 |
| 47 this.element.appendChild(this.propertiesElement); | 47 this.element.appendChild(this.propertiesElement); |
| 48 } | 48 } |
| 49 | 49 |
| 50 WebInspector.PropertiesSection.prototype = { | 50 WebInspector.PropertiesSection.prototype = { |
| 51 __proto__: WebInspector.Section.prototype | 51 __proto__: WebInspector.Section.prototype |
| 52 } | 52 } |
| OLD | NEW |