| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 this._model = WebInspector.debuggerModel; | 33 this._model = WebInspector.debuggerModel; |
| 34 | 34 |
| 35 this.bodyElement.addEventListener("keydown", this._keyDown.bind(this), true)
; | 35 this.bodyElement.addEventListener("keydown", this._keyDown.bind(this), true)
; |
| 36 this.bodyElement.tabIndex = 0; | 36 this.bodyElement.tabIndex = 0; |
| 37 } | 37 } |
| 38 | 38 |
| 39 WebInspector.CallStackSidebarPane.prototype = { | 39 WebInspector.CallStackSidebarPane.prototype = { |
| 40 update: function(callFrames) | 40 update: function(callFrames) |
| 41 { | 41 { |
| 42 this.bodyElement.removeChildren(); | 42 this.bodyElement.removeChildren(); |
| 43 delete this._statusMessageElement; |
| 43 this.placards = []; | 44 this.placards = []; |
| 44 | 45 |
| 45 if (!callFrames) { | 46 if (!callFrames) { |
| 46 var infoElement = document.createElement("div"); | 47 var infoElement = document.createElement("div"); |
| 47 infoElement.className = "info"; | 48 infoElement.className = "info"; |
| 48 infoElement.textContent = WebInspector.UIString("Not Paused"); | 49 infoElement.textContent = WebInspector.UIString("Not Paused"); |
| 49 this.bodyElement.appendChild(infoElement); | 50 this.bodyElement.appendChild(infoElement); |
| 50 return; | 51 return; |
| 51 } | 52 } |
| 52 | 53 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 contextMenu.show(); | 191 contextMenu.show(); |
| 191 }, | 192 }, |
| 192 | 193 |
| 193 _restartFrame: function() | 194 _restartFrame: function() |
| 194 { | 195 { |
| 195 this._callFrame.restart(undefined); | 196 this._callFrame.restart(undefined); |
| 196 }, | 197 }, |
| 197 | 198 |
| 198 __proto__: WebInspector.Placard.prototype | 199 __proto__: WebInspector.Placard.prototype |
| 199 } | 200 } |
| OLD | NEW |