| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "IdentifiersFactory.h" | 42 #include "IdentifiersFactory.h" |
| 43 #include "InjectedScriptManager.h" | 43 #include "InjectedScriptManager.h" |
| 44 #include "InspectorClient.h" | 44 #include "InspectorClient.h" |
| 45 #include "InspectorFrontend.h" | 45 #include "InspectorFrontend.h" |
| 46 #include "InspectorHistory.h" | 46 #include "InspectorHistory.h" |
| 47 #include "InspectorOverlay.h" | 47 #include "InspectorOverlay.h" |
| 48 #include "InspectorPageAgent.h" | 48 #include "InspectorPageAgent.h" |
| 49 #include "InspectorState.h" | 49 #include "InspectorState.h" |
| 50 #include "InstrumentingAgents.h" | 50 #include "InstrumentingAgents.h" |
| 51 #include "ScriptEventListener.h" | 51 #include "ScriptEventListener.h" |
| 52 #include "XPathResult.h" | |
| 53 #include "core/css/CSSComputedStyleDeclaration.h" | 52 #include "core/css/CSSComputedStyleDeclaration.h" |
| 54 #include "core/css/CSSPropertySourceData.h" | 53 #include "core/css/CSSPropertySourceData.h" |
| 55 #include "core/css/CSSRule.h" | 54 #include "core/css/CSSRule.h" |
| 56 #include "core/css/CSSRuleList.h" | 55 #include "core/css/CSSRuleList.h" |
| 57 #include "core/css/CSSStyleRule.h" | 56 #include "core/css/CSSStyleRule.h" |
| 58 #include "core/css/CSSStyleSheet.h" | 57 #include "core/css/CSSStyleSheet.h" |
| 59 #include "core/css/StylePropertySet.h" | 58 #include "core/css/StylePropertySet.h" |
| 60 #include "core/css/StyleResolver.h" | 59 #include "core/css/StyleResolver.h" |
| 61 #include "core/css/StyleSheetList.h" | 60 #include "core/css/StyleSheetList.h" |
| 62 #include "core/dom/Attr.h" | 61 #include "core/dom/Attr.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 87 #include "core/page/Page.h" | 86 #include "core/page/Page.h" |
| 88 #include "core/page/Settings.h" | 87 #include "core/page/Settings.h" |
| 89 #include "core/platform/Cookie.h" | 88 #include "core/platform/Cookie.h" |
| 90 #include "core/platform/Pasteboard.h" | 89 #include "core/platform/Pasteboard.h" |
| 91 #include "core/platform/PlatformMouseEvent.h" | 90 #include "core/platform/PlatformMouseEvent.h" |
| 92 #include "core/platform/graphics/IntRect.h" | 91 #include "core/platform/graphics/IntRect.h" |
| 93 #include "core/rendering/HitTestResult.h" | 92 #include "core/rendering/HitTestResult.h" |
| 94 #include "core/rendering/RenderView.h" | 93 #include "core/rendering/RenderView.h" |
| 95 #include "core/rendering/style/RenderStyle.h" | 94 #include "core/rendering/style/RenderStyle.h" |
| 96 #include "core/rendering/style/RenderStyleConstants.h" | 95 #include "core/rendering/style/RenderStyleConstants.h" |
| 96 #include "core/xml/XPathResult.h" |
| 97 | 97 |
| 98 #include "core/editing/htmlediting.h" | 98 #include "core/editing/htmlediting.h" |
| 99 #include "core/editing/markup.h" | 99 #include "core/editing/markup.h" |
| 100 | 100 |
| 101 #include <wtf/HashSet.h> | 101 #include <wtf/HashSet.h> |
| 102 #include <wtf/ListHashSet.h> | 102 #include <wtf/ListHashSet.h> |
| 103 #include <wtf/OwnPtr.h> | 103 #include <wtf/OwnPtr.h> |
| 104 #include <wtf/text/CString.h> | 104 #include <wtf/text/CString.h> |
| 105 #include <wtf/text/WTFString.h> | 105 #include <wtf/text/WTFString.h> |
| 106 #include <wtf/Vector.h> | 106 #include <wtf/Vector.h> |
| (...skipping 1708 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 |