| 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 } | 665 } |
| 666 this._remoteObject.functionDetails(didGetDetails.bind(this)); | 666 this._remoteObject.functionDetails(didGetDetails.bind(this)); |
| 667 }, | 667 }, |
| 668 | 668 |
| 669 __proto__: TreeElement.prototype | 669 __proto__: TreeElement.prototype |
| 670 } | 670 } |
| 671 | 671 |
| 672 /** | 672 /** |
| 673 * @constructor | 673 * @constructor |
| 674 * @extends {TreeElement} | 674 * @extends {TreeElement} |
| 675 * @param {string} title |
| 676 * @param {?string} subtitle |
| 675 * @param {!WebInspector.RemoteObject} remoteObject | 677 * @param {!WebInspector.RemoteObject} remoteObject |
| 676 */ | 678 */ |
| 677 WebInspector.ScopeTreeElement = function(title, subtitle, remoteObject) | 679 WebInspector.ScopeTreeElement = function(title, subtitle, remoteObject) |
| 678 { | 680 { |
| 679 // TODO: use subtitle parameter. | 681 // TODO: use subtitle parameter. |
| 680 TreeElement.call(this, title, null, false); | 682 TreeElement.call(this, title, null, false); |
| 681 this.toggleOnClick = true; | 683 this.toggleOnClick = true; |
| 682 this.selectable = false; | 684 this.selectable = false; |
| 683 this._remoteObject = remoteObject; | 685 this._remoteObject = remoteObject; |
| 684 this.hasChildren = true; | 686 this.hasChildren = true; |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 { | 987 { |
| 986 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); | 988 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); |
| 987 this.setSuggestBoxEnabled(true); | 989 this.setSuggestBoxEnabled(true); |
| 988 if (renderAsBlock) | 990 if (renderAsBlock) |
| 989 this.renderAsBlock(); | 991 this.renderAsBlock(); |
| 990 } | 992 } |
| 991 | 993 |
| 992 WebInspector.ObjectPropertyPrompt.prototype = { | 994 WebInspector.ObjectPropertyPrompt.prototype = { |
| 993 __proto__: WebInspector.TextPrompt.prototype | 995 __proto__: WebInspector.TextPrompt.prototype |
| 994 } | 996 } |
| OLD | NEW |