| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 { | 82 { |
| 83 this._skipProto = true; | 83 this._skipProto = true; |
| 84 }, | 84 }, |
| 85 | 85 |
| 86 expand: function() | 86 expand: function() |
| 87 { | 87 { |
| 88 this._objectTreeElement.expand(); | 88 this._objectTreeElement.expand(); |
| 89 }, | 89 }, |
| 90 | 90 |
| 91 /** | 91 /** |
| 92 * @param {boolean} value |
| 93 */ |
| 94 setEditable: function(value) |
| 95 { |
| 96 this._editable = value; |
| 97 }, |
| 98 |
| 99 /** |
| 92 * @return {!TreeElement} | 100 * @return {!TreeElement} |
| 93 */ | 101 */ |
| 94 objectTreeElement: function() | 102 objectTreeElement: function() |
| 95 { | 103 { |
| 96 return this._objectTreeElement; | 104 return this._objectTreeElement; |
| 97 }, | 105 }, |
| 98 | 106 |
| 99 enableContextMenu: function() | 107 enableContextMenu: function() |
| 100 { | 108 { |
| 101 this.element.addEventListener("contextmenu", this._contextMenuEventFired
.bind(this), false); | 109 this.element.addEventListener("contextmenu", this._contextMenuEventFired
.bind(this), false); |
| (...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 | 1338 |
| 1331 result = currentName + (result ? "." + result : ""); | 1339 result = currentName + (result ? "." + result : ""); |
| 1332 current = current.parent; | 1340 current = current.parent; |
| 1333 } | 1341 } |
| 1334 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie
sSectionExpandController._treeOutlineId]; | 1342 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie
sSectionExpandController._treeOutlineId]; |
| 1335 result = treeOutlineId + (result ? ":" + result : ""); | 1343 result = treeOutlineId + (result ? ":" + result : ""); |
| 1336 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached
PathSymbol] = result; | 1344 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached
PathSymbol] = result; |
| 1337 return result; | 1345 return result; |
| 1338 } | 1346 } |
| 1339 } | 1347 } |
| OLD | NEW |