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 27 matching lines...) Expand all Loading... |
38 | 38 |
39 WebInspector.ScopeChainSidebarPane.prototype = { | 39 WebInspector.ScopeChainSidebarPane.prototype = { |
40 /** | 40 /** |
41 * @param {?WebInspector.DebuggerModel.CallFrame} callFrame | 41 * @param {?WebInspector.DebuggerModel.CallFrame} callFrame |
42 */ | 42 */ |
43 update: function(callFrame) | 43 update: function(callFrame) |
44 { | 44 { |
45 this.bodyElement.removeChildren(); | 45 this.bodyElement.removeChildren(); |
46 | 46 |
47 if (!callFrame) { | 47 if (!callFrame) { |
48 var infoElement = document.createElement("div"); | 48 var infoElement = createElement("div"); |
49 infoElement.className = "info"; | 49 infoElement.className = "info"; |
50 infoElement.textContent = WebInspector.UIString("Not Paused"); | 50 infoElement.textContent = WebInspector.UIString("Not Paused"); |
51 this.bodyElement.appendChild(infoElement); | 51 this.bodyElement.appendChild(infoElement); |
52 return; | 52 return; |
53 } | 53 } |
54 | 54 |
55 for (var i = 0; i < this._sections.length; ++i) { | 55 for (var i = 0; i < this._sections.length; ++i) { |
56 var section = this._sections[i]; | 56 var section = this._sections[i]; |
57 if (!section.title) | 57 if (!section.title) |
58 continue; | 58 continue; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 { | 175 { |
176 if ("_propertyIdentifier" in this) | 176 if ("_propertyIdentifier" in this) |
177 return this._propertyIdentifier; | 177 return this._propertyIdentifier; |
178 var section = this.treeOutline.section; | 178 var section = this.treeOutline.section; |
179 this._propertyIdentifier = section.title + ":" + (section.subtitle ? sec
tion.subtitle + ":" : "") + this.propertyPath(); | 179 this._propertyIdentifier = section.title + ":" + (section.subtitle ? sec
tion.subtitle + ":" : "") + this.propertyPath(); |
180 return this._propertyIdentifier; | 180 return this._propertyIdentifier; |
181 }, | 181 }, |
182 | 182 |
183 __proto__: WebInspector.ObjectPropertyTreeElement.prototype | 183 __proto__: WebInspector.ObjectPropertyTreeElement.prototype |
184 } | 184 } |
OLD | NEW |