| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 return; | 123 return; |
| 124 this._expanded = false; | 124 this._expanded = false; |
| 125 this.element.classList.remove("expanded"); | 125 this.element.classList.remove("expanded"); |
| 126 }, | 126 }, |
| 127 | 127 |
| 128 /** | 128 /** |
| 129 * @param {string} cssFile | 129 * @param {string} cssFile |
| 130 */ | 130 */ |
| 131 registerRequiredCSS: function(cssFile) | 131 registerRequiredCSS: function(cssFile) |
| 132 { | 132 { |
| 133 this.element.insertBefore(WebInspector.View.createStyleElement(cssFile),
this.headerElement); | 133 this.element.insertBefore(WebInspector.Widget.createStyleElement(cssFile
), this.headerElement); |
| 134 }, | 134 }, |
| 135 | 135 |
| 136 /** | 136 /** |
| 137 * @param {!Event} event | 137 * @param {!Event} event |
| 138 * @protected | 138 * @protected |
| 139 */ | 139 */ |
| 140 handleClick: function(event) | 140 handleClick: function(event) |
| 141 { | 141 { |
| 142 if (this._doNotExpandOnTitleClick) | 142 if (this._doNotExpandOnTitleClick) |
| 143 return; | 143 return; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 171 this.propertiesElement.classList.add("properties", "properties-tree", "monos
pace"); | 171 this.propertiesElement.classList.add("properties", "properties-tree", "monos
pace"); |
| 172 this.propertiesTreeOutline.setFocusable(false); | 172 this.propertiesTreeOutline.setFocusable(false); |
| 173 this.propertiesTreeOutline.section = this; | 173 this.propertiesTreeOutline.section = this; |
| 174 | 174 |
| 175 this.element.appendChild(this.propertiesElement); | 175 this.element.appendChild(this.propertiesElement); |
| 176 } | 176 } |
| 177 | 177 |
| 178 WebInspector.PropertiesSection.prototype = { | 178 WebInspector.PropertiesSection.prototype = { |
| 179 __proto__: WebInspector.Section.prototype | 179 __proto__: WebInspector.Section.prototype |
| 180 } | 180 } |
| OLD | NEW |