| 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 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 __proto__: TreeElement.prototype | 1029 __proto__: TreeElement.prototype |
| 1030 }; | 1030 }; |
| 1031 | 1031 |
| 1032 /** | 1032 /** |
| 1033 * @constructor | 1033 * @constructor |
| 1034 * @extends {WebInspector.TextPrompt} | 1034 * @extends {WebInspector.TextPrompt} |
| 1035 */ | 1035 */ |
| 1036 WebInspector.ObjectPropertyPrompt = function() | 1036 WebInspector.ObjectPropertyPrompt = function() |
| 1037 { | 1037 { |
| 1038 WebInspector.TextPrompt.call(this); | 1038 WebInspector.TextPrompt.call(this); |
| 1039 this.initialize(WebInspector.ExecutionContextSelector.completionsForTextProm
ptInCurrentContext); | 1039 this.initialize(WebInspector.JavaScriptAutocomplete.completionsForTextPrompt
InCurrentContext); |
| 1040 this.setSuggestBoxEnabled(true); | 1040 this.setSuggestBoxEnabled(true); |
| 1041 }; | 1041 }; |
| 1042 | 1042 |
| 1043 WebInspector.ObjectPropertyPrompt.prototype = { | 1043 WebInspector.ObjectPropertyPrompt.prototype = { |
| 1044 __proto__: WebInspector.TextPrompt.prototype | 1044 __proto__: WebInspector.TextPrompt.prototype |
| 1045 }; | 1045 }; |
| 1046 | 1046 |
| 1047 /** | 1047 /** |
| 1048 * @param {?string} name | 1048 * @param {?string} name |
| 1049 * @return {!Element} | 1049 * @return {!Element} |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1367 | 1367 |
| 1368 result = currentName + (result ? "." + result : ""); | 1368 result = currentName + (result ? "." + result : ""); |
| 1369 current = current.parent; | 1369 current = current.parent; |
| 1370 } | 1370 } |
| 1371 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie
sSectionExpandController._treeOutlineId]; | 1371 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie
sSectionExpandController._treeOutlineId]; |
| 1372 result = treeOutlineId + (result ? ":" + result : ""); | 1372 result = treeOutlineId + (result ? ":" + result : ""); |
| 1373 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached
PathSymbol] = result; | 1373 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached
PathSymbol] = result; |
| 1374 return result; | 1374 return result; |
| 1375 } | 1375 } |
| 1376 }; | 1376 }; |
| OLD | NEW |