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 23 matching lines...) Expand all Loading... |
34 #include "Attr.h" | 34 #include "Attr.h" |
35 #include "CSSComputedStyleDeclaration.h" | 35 #include "CSSComputedStyleDeclaration.h" |
36 #include "CSSPropertyNames.h" | 36 #include "CSSPropertyNames.h" |
37 #include "CSSPropertySourceData.h" | 37 #include "CSSPropertySourceData.h" |
38 #include "CSSRule.h" | 38 #include "CSSRule.h" |
39 #include "CSSRuleList.h" | 39 #include "CSSRuleList.h" |
40 #include "CSSStyleRule.h" | 40 #include "CSSStyleRule.h" |
41 #include "CSSStyleSheet.h" | 41 #include "CSSStyleSheet.h" |
42 #include "CharacterData.h" | 42 #include "CharacterData.h" |
43 #include "ContainerNode.h" | 43 #include "ContainerNode.h" |
44 #include "Cookie.h" | |
45 #include "CookieJar.h" | 44 #include "CookieJar.h" |
46 #include "DOMEditor.h" | 45 #include "DOMEditor.h" |
47 #include "DOMPatchSupport.h" | 46 #include "DOMPatchSupport.h" |
48 #include "DOMWindow.h" | 47 #include "DOMWindow.h" |
49 #include "Document.h" | 48 #include "Document.h" |
50 #include "DocumentFragment.h" | 49 #include "DocumentFragment.h" |
51 #include "DocumentType.h" | 50 #include "DocumentType.h" |
52 #include "Element.h" | 51 #include "Element.h" |
53 #include "ElementShadow.h" | 52 #include "ElementShadow.h" |
54 #include "Event.h" | 53 #include "Event.h" |
(...skipping 18 matching lines...) Expand all Loading... |
73 #include "InspectorHistory.h" | 72 #include "InspectorHistory.h" |
74 #include "InspectorOverlay.h" | 73 #include "InspectorOverlay.h" |
75 #include "InspectorPageAgent.h" | 74 #include "InspectorPageAgent.h" |
76 #include "InspectorState.h" | 75 #include "InspectorState.h" |
77 #include "InstrumentingAgents.h" | 76 #include "InstrumentingAgents.h" |
78 #include "MutationEvent.h" | 77 #include "MutationEvent.h" |
79 #include "Node.h" | 78 #include "Node.h" |
80 #include "NodeList.h" | 79 #include "NodeList.h" |
81 #include "NodeTraversal.h" | 80 #include "NodeTraversal.h" |
82 #include "Page.h" | 81 #include "Page.h" |
83 #include "Pasteboard.h" | |
84 #include "PlatformMouseEvent.h" | |
85 #include "RenderStyle.h" | 82 #include "RenderStyle.h" |
86 #include "RenderStyleConstants.h" | 83 #include "RenderStyleConstants.h" |
87 #include "RenderView.h" | 84 #include "RenderView.h" |
88 #include "ScriptEventListener.h" | 85 #include "ScriptEventListener.h" |
89 #include "Settings.h" | 86 #include "Settings.h" |
90 #include "ShadowRoot.h" | 87 #include "ShadowRoot.h" |
91 #include "StylePropertySet.h" | 88 #include "StylePropertySet.h" |
92 #include "StyleResolver.h" | 89 #include "StyleResolver.h" |
93 #include "StyleSheetList.h" | 90 #include "StyleSheetList.h" |
94 #include "Text.h" | 91 #include "Text.h" |
95 #include "XPathResult.h" | 92 #include "XPathResult.h" |
| 93 #include "core/platform/Cookie.h" |
| 94 #include "core/platform/Pasteboard.h" |
| 95 #include "core/platform/PlatformMouseEvent.h" |
96 #include "core/platform/graphics/IntRect.h" | 96 #include "core/platform/graphics/IntRect.h" |
97 | 97 |
98 #include "htmlediting.h" | 98 #include "htmlediting.h" |
99 #include "markup.h" | 99 #include "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> |
(...skipping 1709 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 |