| 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 16 matching lines...) Expand all Loading... |
| 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 "InspectorDOMAgent.h" | 32 #include "InspectorDOMAgent.h" |
| 33 | 33 |
| 34 #include "CSSPropertyNames.h" | 34 #include "CSSPropertyNames.h" |
| 35 #include "DOMEditor.h" | 35 #include "DOMEditor.h" |
| 36 #include "DOMPatchSupport.h" | 36 #include "DOMPatchSupport.h" |
| 37 #include "File.h" | |
| 38 #include "FileList.h" | |
| 39 #include "HTMLElement.h" | 37 #include "HTMLElement.h" |
| 40 #include "HTMLFrameOwnerElement.h" | 38 #include "HTMLFrameOwnerElement.h" |
| 41 #include "HTMLInputElement.h" | 39 #include "HTMLInputElement.h" |
| 42 #include "HTMLNames.h" | 40 #include "HTMLNames.h" |
| 43 #include "HTMLTemplateElement.h" | 41 #include "HTMLTemplateElement.h" |
| 44 #include "IdentifiersFactory.h" | 42 #include "IdentifiersFactory.h" |
| 45 #include "InjectedScriptManager.h" | 43 #include "InjectedScriptManager.h" |
| 46 #include "InspectorClient.h" | 44 #include "InspectorClient.h" |
| 47 #include "InspectorFrontend.h" | 45 #include "InspectorFrontend.h" |
| 48 #include "InspectorHistory.h" | 46 #include "InspectorHistory.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 73 #include "core/dom/EventContext.h" | 71 #include "core/dom/EventContext.h" |
| 74 #include "core/dom/EventListener.h" | 72 #include "core/dom/EventListener.h" |
| 75 #include "core/dom/EventNames.h" | 73 #include "core/dom/EventNames.h" |
| 76 #include "core/dom/EventTarget.h" | 74 #include "core/dom/EventTarget.h" |
| 77 #include "core/dom/MutationEvent.h" | 75 #include "core/dom/MutationEvent.h" |
| 78 #include "core/dom/Node.h" | 76 #include "core/dom/Node.h" |
| 79 #include "core/dom/NodeList.h" | 77 #include "core/dom/NodeList.h" |
| 80 #include "core/dom/NodeTraversal.h" | 78 #include "core/dom/NodeTraversal.h" |
| 81 #include "core/dom/ShadowRoot.h" | 79 #include "core/dom/ShadowRoot.h" |
| 82 #include "core/dom/Text.h" | 80 #include "core/dom/Text.h" |
| 81 #include "core/fileapi/File.h" |
| 82 #include "core/fileapi/FileList.h" |
| 83 #include "core/loader/CookieJar.h" | 83 #include "core/loader/CookieJar.h" |
| 84 #include "core/page/DOMWindow.h" | 84 #include "core/page/DOMWindow.h" |
| 85 #include "core/page/Frame.h" | 85 #include "core/page/Frame.h" |
| 86 #include "core/page/FrameTree.h" | 86 #include "core/page/FrameTree.h" |
| 87 #include "core/page/Page.h" | 87 #include "core/page/Page.h" |
| 88 #include "core/page/Settings.h" | 88 #include "core/page/Settings.h" |
| 89 #include "core/platform/Cookie.h" | 89 #include "core/platform/Cookie.h" |
| 90 #include "core/platform/Pasteboard.h" | 90 #include "core/platform/Pasteboard.h" |
| 91 #include "core/platform/PlatformMouseEvent.h" | 91 #include "core/platform/PlatformMouseEvent.h" |
| 92 #include "core/platform/graphics/IntRect.h" | 92 #include "core/platform/graphics/IntRect.h" |
| (...skipping 1722 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 |