| 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) 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 * 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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 this.hasChildren = true; | 615 this.hasChildren = true; |
| 616 } | 616 } |
| 617 | 617 |
| 618 WebInspector.FunctionScopeMainTreeElement.prototype = { | 618 WebInspector.FunctionScopeMainTreeElement.prototype = { |
| 619 onpopulate: function() | 619 onpopulate: function() |
| 620 { | 620 { |
| 621 if (this.children.length && !this.shouldRefreshChildren) | 621 if (this.children.length && !this.shouldRefreshChildren) |
| 622 return; | 622 return; |
| 623 | 623 |
| 624 /** | 624 /** |
| 625 * @param {?DebuggerAgent.FunctionDetails} response | 625 * @param {?WebInspector.DebuggerModel.FunctionDetails} response |
| 626 * @this {WebInspector.FunctionScopeMainTreeElement} | 626 * @this {WebInspector.FunctionScopeMainTreeElement} |
| 627 */ | 627 */ |
| 628 function didGetDetails(response) | 628 function didGetDetails(response) |
| 629 { | 629 { |
| 630 if (!response) | 630 if (!response) |
| 631 return; | 631 return; |
| 632 this.removeChildren(); | 632 this.removeChildren(); |
| 633 | 633 |
| 634 var scopeChain = response.scopeChain; | 634 var scopeChain = response.scopeChain; |
| 635 if (!scopeChain) | 635 if (!scopeChain) |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 { | 1005 { |
| 1006 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); | 1006 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); |
| 1007 this.setSuggestBoxEnabled(true); | 1007 this.setSuggestBoxEnabled(true); |
| 1008 if (renderAsBlock) | 1008 if (renderAsBlock) |
| 1009 this.renderAsBlock(); | 1009 this.renderAsBlock(); |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 WebInspector.ObjectPropertyPrompt.prototype = { | 1012 WebInspector.ObjectPropertyPrompt.prototype = { |
| 1013 __proto__: WebInspector.TextPrompt.prototype | 1013 __proto__: WebInspector.TextPrompt.prototype |
| 1014 } | 1014 } |
| OLD | NEW |