| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 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 14 matching lines...) Expand all Loading... |
| 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 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/inspector/InspectorDOMAgent.h" | 32 #include "core/inspector/InspectorDOMAgent.h" |
| 33 | 33 |
| 34 #include "CSSPropertyNames.h" | 34 #include "CSSPropertyNames.h" |
| 35 #include "HTMLElement.h" | |
| 36 #include "HTMLFrameOwnerElement.h" | |
| 37 #include "HTMLInputElement.h" | |
| 38 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
| 39 #include "HTMLTemplateElement.h" | |
| 40 #include "InspectorFrontend.h" | 36 #include "InspectorFrontend.h" |
| 41 #include "bindings/v8/ScriptEventListener.h" | 37 #include "bindings/v8/ScriptEventListener.h" |
| 42 #include "core/css/CSSComputedStyleDeclaration.h" | 38 #include "core/css/CSSComputedStyleDeclaration.h" |
| 43 #include "core/css/CSSPropertySourceData.h" | 39 #include "core/css/CSSPropertySourceData.h" |
| 44 #include "core/css/CSSRule.h" | 40 #include "core/css/CSSRule.h" |
| 45 #include "core/css/CSSRuleList.h" | 41 #include "core/css/CSSRuleList.h" |
| 46 #include "core/css/CSSStyleRule.h" | 42 #include "core/css/CSSStyleRule.h" |
| 47 #include "core/css/CSSStyleSheet.h" | 43 #include "core/css/CSSStyleSheet.h" |
| 48 #include "core/css/StylePropertySet.h" | 44 #include "core/css/StylePropertySet.h" |
| 49 #include "core/css/StyleResolver.h" | 45 #include "core/css/StyleResolver.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 62 #include "core/dom/EventNames.h" | 58 #include "core/dom/EventNames.h" |
| 63 #include "core/dom/EventTarget.h" | 59 #include "core/dom/EventTarget.h" |
| 64 #include "core/dom/MutationEvent.h" | 60 #include "core/dom/MutationEvent.h" |
| 65 #include "core/dom/Node.h" | 61 #include "core/dom/Node.h" |
| 66 #include "core/dom/NodeList.h" | 62 #include "core/dom/NodeList.h" |
| 67 #include "core/dom/NodeTraversal.h" | 63 #include "core/dom/NodeTraversal.h" |
| 68 #include "core/dom/ShadowRoot.h" | 64 #include "core/dom/ShadowRoot.h" |
| 69 #include "core/dom/Text.h" | 65 #include "core/dom/Text.h" |
| 70 #include "core/fileapi/File.h" | 66 #include "core/fileapi/File.h" |
| 71 #include "core/fileapi/FileList.h" | 67 #include "core/fileapi/FileList.h" |
| 68 #include "core/html/HTMLElement.h" |
| 69 #include "core/html/HTMLFrameOwnerElement.h" |
| 70 #include "core/html/HTMLInputElement.h" |
| 71 #include "core/html/HTMLTemplateElement.h" |
| 72 #include "core/inspector/DOMEditor.h" | 72 #include "core/inspector/DOMEditor.h" |
| 73 #include "core/inspector/DOMPatchSupport.h" | 73 #include "core/inspector/DOMPatchSupport.h" |
| 74 #include "core/inspector/IdentifiersFactory.h" | 74 #include "core/inspector/IdentifiersFactory.h" |
| 75 #include "core/inspector/InjectedScriptManager.h" | 75 #include "core/inspector/InjectedScriptManager.h" |
| 76 #include "core/inspector/InspectorClient.h" | 76 #include "core/inspector/InspectorClient.h" |
| 77 #include "core/inspector/InspectorHistory.h" | 77 #include "core/inspector/InspectorHistory.h" |
| 78 #include "core/inspector/InspectorOverlay.h" | 78 #include "core/inspector/InspectorOverlay.h" |
| 79 #include "core/inspector/InspectorPageAgent.h" | 79 #include "core/inspector/InspectorPageAgent.h" |
| 80 #include "core/inspector/InspectorState.h" | 80 #include "core/inspector/InspectorState.h" |
| 81 #include "core/inspector/InstrumentingAgents.h" | 81 #include "core/inspector/InstrumentingAgents.h" |
| (...skipping 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1815 | 1815 |
| 1816 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(m
ainWorldScriptState(frame)); | 1816 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(m
ainWorldScriptState(frame)); |
| 1817 if (injectedScript.hasNoValue()) | 1817 if (injectedScript.hasNoValue()) |
| 1818 return 0; | 1818 return 0; |
| 1819 | 1819 |
| 1820 return injectedScript.wrapNode(node, objectGroup); | 1820 return injectedScript.wrapNode(node, objectGroup); |
| 1821 } | 1821 } |
| 1822 | 1822 |
| 1823 } // namespace WebCore | 1823 } // namespace WebCore |
| 1824 | 1824 |
| OLD | NEW |