| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 111             this.callFrameList.addItem(asyncCallFrameItem); | 111             this.callFrameList.addItem(asyncCallFrameItem); | 
| 112 | 112 | 
| 113         var allCallFramesHidden = true; | 113         var allCallFramesHidden = true; | 
| 114         for (var i = 0, n = callFrames.length; i < n; ++i) { | 114         for (var i = 0, n = callFrames.length; i < n; ++i) { | 
| 115             var callFrame = callFrames[i]; | 115             var callFrame = callFrames[i]; | 
| 116             var callFrameItem = new WebInspector.CallStackSidebarPane.CallFrame(
     callFrame, asyncCallFrameItem); | 116             var callFrameItem = new WebInspector.CallStackSidebarPane.CallFrame(
     callFrame, asyncCallFrameItem); | 
| 117             callFrameItem.element.addEventListener("click", this._callFrameSelec
     ted.bind(this, callFrameItem), false); | 117             callFrameItem.element.addEventListener("click", this._callFrameSelec
     ted.bind(this, callFrameItem), false); | 
| 118             callFrameItem.element.addEventListener("contextmenu", this._callFram
     eContextMenu.bind(this, callFrameItem), true); | 118             callFrameItem.element.addEventListener("contextmenu", this._callFram
     eContextMenu.bind(this, callFrameItem), true); | 
| 119             this.callFrames.push(callFrameItem); | 119             this.callFrames.push(callFrameItem); | 
| 120 | 120 | 
| 121             if (WebInspector.BlackboxSupport.isBlackboxed(callFrame.script.sourc
     eURL, callFrame.script.isContentScript())) { | 121             var location = this._debuggerModel.createRawLocation(callFrame.scrip
     t, callFrame.location().lineNumber, callFrame.location().columnNumber); | 
|  | 122             if (WebInspector.BlackboxSupport.isBlackboxedScriptLocation(location
     )) { | 
| 122                 callFrameItem.setHidden(true); | 123                 callFrameItem.setHidden(true); | 
| 123                 callFrameItem.setDimmed(true); | 124                 callFrameItem.setDimmed(true); | 
| 124                 ++this._hiddenCallFrames; | 125                 ++this._hiddenCallFrames; | 
| 125             } else { | 126             } else { | 
| 126                 this.callFrameList.addItem(callFrameItem); | 127                 this.callFrameList.addItem(callFrameItem); | 
| 127                 allCallFramesHidden = false; | 128                 allCallFramesHidden = false; | 
| 128             } | 129             } | 
| 129         } | 130         } | 
| 130         if (allCallFramesHidden && asyncCallFrameItem) { | 131         if (allCallFramesHidden && asyncCallFrameItem) { | 
| 131             asyncCallFrameItem.setHidden(true); | 132             asyncCallFrameItem.setHidden(true); | 
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 428      */ | 429      */ | 
| 429     _update: function(uiLocation) | 430     _update: function(uiLocation) | 
| 430     { | 431     { | 
| 431         var text = uiLocation.linkText(); | 432         var text = uiLocation.linkText(); | 
| 432         this.setSubtitle(text.trimMiddle(30)); | 433         this.setSubtitle(text.trimMiddle(30)); | 
| 433         this.subtitleElement.title = text; | 434         this.subtitleElement.title = text; | 
| 434     }, | 435     }, | 
| 435 | 436 | 
| 436     __proto__: WebInspector.UIList.Item.prototype | 437     __proto__: WebInspector.UIList.Item.prototype | 
| 437 } | 438 } | 
| OLD | NEW | 
|---|