| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * @constructor | 28 * @constructor |
| 29 * @extends {WebInspector.VBox} | 29 * @extends {WebInspector.VBox} |
| 30 * @implements {WebInspector.ContextFlavorListener} | 30 * @implements {WebInspector.ContextFlavorListener} |
| 31 */ | 31 */ |
| 32 WebInspector.ScopeChainSidebarPane = function() | 32 WebInspector.ScopeChainSidebarPane = function() |
| 33 { | 33 { |
| 34 WebInspector.VBox.call(this); | 34 WebInspector.VBox.call(this); |
| 35 this._expandController = new WebInspector.ObjectPropertiesSectionExpandContr
oller(); | 35 this._expandController = new WebInspector.ObjectPropertiesSectionExpandContr
oller(); |
| 36 this._linkifier = new WebInspector.Linkifier(); | 36 this._linkifier = new WebInspector.Linkifier(); |
| 37 this._update(); | 37 this._update(); |
| 38 } | 38 }; |
| 39 | 39 |
| 40 WebInspector.ScopeChainSidebarPane._pathSymbol = Symbol("path"); | 40 WebInspector.ScopeChainSidebarPane._pathSymbol = Symbol("path"); |
| 41 | 41 |
| 42 WebInspector.ScopeChainSidebarPane.prototype = { | 42 WebInspector.ScopeChainSidebarPane.prototype = { |
| 43 /** | 43 /** |
| 44 * @override | 44 * @override |
| 45 * @param {?Object} object | 45 * @param {?Object} object |
| 46 */ | 46 */ |
| 47 flavorChanged: function(object) | 47 flavorChanged: function(object) |
| 48 { | 48 { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 section.element.classList.add("scope-chain-sidebar-pane-section"); | 143 section.element.classList.add("scope-chain-sidebar-pane-section"); |
| 144 this.element.appendChild(section.element); | 144 this.element.appendChild(section.element); |
| 145 } | 145 } |
| 146 this._sidebarPaneUpdatedForTest(); | 146 this._sidebarPaneUpdatedForTest(); |
| 147 }, | 147 }, |
| 148 | 148 |
| 149 _sidebarPaneUpdatedForTest: function() { }, | 149 _sidebarPaneUpdatedForTest: function() { }, |
| 150 | 150 |
| 151 __proto__: WebInspector.VBox.prototype | 151 __proto__: WebInspector.VBox.prototype |
| 152 } | 152 }; |
| OLD | NEW |