| 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 10 matching lines...) Expand all Loading... |
| 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 importScript("Spectrum.js"); | |
| 32 importScript("DOMSyntaxHighlighter.js"); | |
| 33 importScript("ElementsTreeOutline.js"); | |
| 34 importScript("EventListenersSidebarPane.js"); | |
| 35 importScript("MetricsSidebarPane.js"); | |
| 36 importScript("PlatformFontsSidebarPane.js"); | |
| 37 importScript("PropertiesSidebarPane.js"); | |
| 38 importScript("StylesSidebarPane.js"); | |
| 39 | |
| 40 /** | 31 /** |
| 41 * @constructor | 32 * @constructor |
| 42 * @implements {WebInspector.Searchable} | 33 * @implements {WebInspector.Searchable} |
| 43 * @implements {WebInspector.TargetManager.Observer} | 34 * @implements {WebInspector.TargetManager.Observer} |
| 44 * @extends {WebInspector.Panel} | 35 * @extends {WebInspector.Panel} |
| 45 */ | 36 */ |
| 46 WebInspector.ElementsPanel = function() | 37 WebInspector.ElementsPanel = function() |
| 47 { | 38 { |
| 48 WebInspector.Panel.call(this, "elements"); | 39 WebInspector.Panel.call(this, "elements"); |
| 49 this.registerRequiredCSS("elementsPanel.css"); | 40 this.registerRequiredCSS("elementsPanel.css"); |
| (...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1599 /** | 1590 /** |
| 1600 * @suppressReceiverCheck | 1591 * @suppressReceiverCheck |
| 1601 * @this {Element} | 1592 * @this {Element} |
| 1602 */ | 1593 */ |
| 1603 function parentElement() | 1594 function parentElement() |
| 1604 { | 1595 { |
| 1605 return this.parentElement; | 1596 return this.parentElement; |
| 1606 } | 1597 } |
| 1607 } | 1598 } |
| 1608 } | 1599 } |
| OLD | NEW |