| 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 } | 593 } |
| 594 | 594 |
| 595 /** | 595 /** |
| 596 * @param {!TreeElement} treeNode | 596 * @param {!TreeElement} treeNode |
| 597 * @param {?string=} emptyPlaceholder | 597 * @param {?string=} emptyPlaceholder |
| 598 */ | 598 */ |
| 599 WebInspector.ObjectPropertyTreeElement._appendEmptyPlaceholderIfNeeded = functio
n(treeNode, emptyPlaceholder) | 599 WebInspector.ObjectPropertyTreeElement._appendEmptyPlaceholderIfNeeded = functio
n(treeNode, emptyPlaceholder) |
| 600 { | 600 { |
| 601 if (treeNode.childCount()) | 601 if (treeNode.childCount()) |
| 602 return; | 602 return; |
| 603 var title = createElementWithClass("div", "info"); | 603 var title = createElementWithClass("div", "gray-info-message"); |
| 604 title.textContent = emptyPlaceholder || WebInspector.UIString("No Properties
"); | 604 title.textContent = emptyPlaceholder || WebInspector.UIString("No Properties
"); |
| 605 var infoElement = new TreeElement(title); | 605 var infoElement = new TreeElement(title); |
| 606 treeNode.appendChild(infoElement); | 606 treeNode.appendChild(infoElement); |
| 607 } | 607 } |
| 608 | 608 |
| 609 /** | 609 /** |
| 610 * @param {?WebInspector.RemoteObject} object | 610 * @param {?WebInspector.RemoteObject} object |
| 611 * @param {!Array.<string>} propertyPath | 611 * @param {!Array.<string>} propertyPath |
| 612 * @param {function(?WebInspector.RemoteObject, boolean=)} callback | 612 * @param {function(?WebInspector.RemoteObject, boolean=)} callback |
| 613 * @return {!Element} | 613 * @return {!Element} |
| (...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 | 1258 |
| 1259 result = currentName + (result ? "." + result : ""); | 1259 result = currentName + (result ? "." + result : ""); |
| 1260 current = current.parent; | 1260 current = current.parent; |
| 1261 } | 1261 } |
| 1262 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie
sSectionExpandController._treeOutlineId]; | 1262 var treeOutlineId = treeElement.treeOutline[WebInspector.ObjectPropertie
sSectionExpandController._treeOutlineId]; |
| 1263 result = treeOutlineId + (result ? ":" + result : ""); | 1263 result = treeOutlineId + (result ? ":" + result : ""); |
| 1264 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached
PathSymbol] = result; | 1264 treeElement[WebInspector.ObjectPropertiesSectionExpandController._cached
PathSymbol] = result; |
| 1265 return result; | 1265 return result; |
| 1266 } | 1266 } |
| 1267 } | 1267 } |
| OLD | NEW |