| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
| 4 * Copyright (C) 2009 Joseph Pecoraro | 4 * Copyright (C) 2009 Joseph Pecoraro |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 /** @typedef {{node: !WebInspector.DOMNode, isCut: boolean}} */ | 87 /** @typedef {{node: !WebInspector.DOMNode, isCut: boolean}} */ |
| 88 WebInspector.ElementsTreeOutline.ClipboardData; | 88 WebInspector.ElementsTreeOutline.ClipboardData; |
| 89 | 89 |
| 90 /** | 90 /** |
| 91 * @enum {string} | 91 * @enum {string} |
| 92 */ | 92 */ |
| 93 WebInspector.ElementsTreeOutline.Events = { | 93 WebInspector.ElementsTreeOutline.Events = { |
| 94 NodePicked: "NodePicked", | 94 NodePicked: "NodePicked", |
| 95 SelectedNodeChanged: "SelectedNodeChanged", | 95 SelectedNodeChanged: "SelectedNodeChanged", |
| 96 ElementsTreeUpdated: "ElementsTreeUpdated" | 96 ElementsTreeUpdated: "ElementsTreeUpdated", |
| 97 DecorationsClicked: "DecorationsClicked" |
| 97 } | 98 } |
| 98 | 99 |
| 99 /** | 100 /** |
| 100 * @const | 101 * @const |
| 101 * @type {!Object.<string, string>} | 102 * @type {!Object.<string, string>} |
| 102 */ | 103 */ |
| 103 WebInspector.ElementsTreeOutline.MappedCharToEntity = { | 104 WebInspector.ElementsTreeOutline.MappedCharToEntity = { |
| 104 "\u00a0": "nbsp", | 105 "\u00a0": "nbsp", |
| 105 "\u0093": "#147", // <control> | 106 "\u0093": "#147", // <control> |
| 106 "\u00ad": "shy", | 107 "\u00ad": "shy", |
| (...skipping 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1822 if (node) { | 1823 if (node) { |
| 1823 this.treeOutline._selectedDOMNode = node; | 1824 this.treeOutline._selectedDOMNode = node; |
| 1824 this.treeOutline._selectedNodeChanged(); | 1825 this.treeOutline._selectedNodeChanged(); |
| 1825 } | 1826 } |
| 1826 } | 1827 } |
| 1827 return true; | 1828 return true; |
| 1828 }, | 1829 }, |
| 1829 | 1830 |
| 1830 __proto__: TreeElement.prototype | 1831 __proto__: TreeElement.prototype |
| 1831 } | 1832 } |
| OLD | NEW |