| 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 |
| 31 /** | 40 /** |
| 32 * @constructor | 41 * @constructor |
| 33 * @implements {WebInspector.Searchable} | 42 * @implements {WebInspector.Searchable} |
| 34 * @implements {WebInspector.TargetManager.Observer} | 43 * @implements {WebInspector.TargetManager.Observer} |
| 35 * @extends {WebInspector.Panel} | 44 * @extends {WebInspector.Panel} |
| 36 */ | 45 */ |
| 37 WebInspector.ElementsPanel = function() | 46 WebInspector.ElementsPanel = function() |
| 38 { | 47 { |
| 39 WebInspector.Panel.call(this, "elements"); | 48 WebInspector.Panel.call(this, "elements"); |
| 40 this.registerRequiredCSS("elementsPanel.css"); | 49 this.registerRequiredCSS("elementsPanel.css"); |
| (...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1590 /** | 1599 /** |
| 1591 * @suppressReceiverCheck | 1600 * @suppressReceiverCheck |
| 1592 * @this {Element} | 1601 * @this {Element} |
| 1593 */ | 1602 */ |
| 1594 function parentElement() | 1603 function parentElement() |
| 1595 { | 1604 { |
| 1596 return this.parentElement; | 1605 return this.parentElement; |
| 1597 } | 1606 } |
| 1598 } | 1607 } |
| 1599 } | 1608 } |
| OLD | NEW |