| 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 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 this._selectorContainer = selectorContainer; | 672 this._selectorContainer = selectorContainer; |
| 673 | 673 |
| 674 if (this.navigable) | 674 if (this.navigable) |
| 675 this.element.classList.add("navigable"); | 675 this.element.classList.add("navigable"); |
| 676 | 676 |
| 677 if (!this.editable) { | 677 if (!this.editable) { |
| 678 this.element.classList.add("read-only"); | 678 this.element.classList.add("read-only"); |
| 679 this.propertiesTreeOutline.element.classList.add("read-only"); | 679 this.propertiesTreeOutline.element.classList.add("read-only"); |
| 680 } | 680 } |
| 681 | 681 |
| 682 this._hoverableSelectorsMode = false; |
| 682 this._markSelectorMatches(); | 683 this._markSelectorMatches(); |
| 683 this.onpopulate(); | 684 this.onpopulate(); |
| 684 } | 685 } |
| 685 | 686 |
| 686 WebInspector.StylePropertiesSection.prototype = { | 687 WebInspector.StylePropertiesSection.prototype = { |
| 687 /** | 688 /** |
| 688 * @param {boolean} isHovered | 689 * @param {boolean} isHovered |
| 689 */ | 690 */ |
| 690 _setSectionHovered: function(isHovered) | 691 _setSectionHovered: function(isHovered) |
| 691 { | 692 { |
| (...skipping 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3186 | 3187 |
| 3187 /** | 3188 /** |
| 3188 * @override | 3189 * @override |
| 3189 * @return {!WebInspector.ToolbarItem} | 3190 * @return {!WebInspector.ToolbarItem} |
| 3190 */ | 3191 */ |
| 3191 item: function() | 3192 item: function() |
| 3192 { | 3193 { |
| 3193 return this._button; | 3194 return this._button; |
| 3194 } | 3195 } |
| 3195 } | 3196 } |
| OLD | NEW |