OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #include "config.h" | 32 #include "config.h" |
33 #include "FrameLoaderClientImpl.h" | 33 #include "FrameLoaderClientImpl.h" |
34 | 34 |
35 #include "BackForwardListChromium.h" | 35 #include "BackForwardListChromium.h" |
36 #include "Document.h" | |
37 #include "FrameNetworkingContextImpl.h" | 36 #include "FrameNetworkingContextImpl.h" |
38 #include "HTMLAppletElement.h" | 37 #include "HTMLAppletElement.h" |
39 #include "HTMLFormElement.h" // needed by core/loader/FormState.h | 38 #include "HTMLFormElement.h" // needed by core/loader/FormState.h |
40 #include "HTMLNames.h" | 39 #include "HTMLNames.h" |
41 #include "MessageEvent.h" | |
42 #include "MouseEvent.h" | |
43 #include "PluginData.h" | 40 #include "PluginData.h" |
| 41 #include "core/dom/Document.h" |
| 42 #include "core/dom/MessageEvent.h" |
| 43 #include "core/dom/MouseEvent.h" |
44 #include "core/history/HistoryItem.h" | 44 #include "core/history/HistoryItem.h" |
45 #include "core/loader/DocumentLoader.h" | 45 #include "core/loader/DocumentLoader.h" |
46 #include "core/loader/FormState.h" | 46 #include "core/loader/FormState.h" |
47 #include "core/loader/FrameLoadRequest.h" | 47 #include "core/loader/FrameLoadRequest.h" |
48 #include "core/loader/FrameLoader.h" | 48 #include "core/loader/FrameLoader.h" |
49 #include "core/loader/ProgressTracker.h" | 49 #include "core/loader/ProgressTracker.h" |
50 #include "core/loader/ResourceLoader.h" | 50 #include "core/loader/ResourceLoader.h" |
51 #include "core/page/Chrome.h" | 51 #include "core/page/Chrome.h" |
52 #include "core/page/EventHandler.h" | 52 #include "core/page/EventHandler.h" |
53 #include "core/page/FrameView.h" | 53 #include "core/page/FrameView.h" |
54 #include "core/page/Page.h" | 54 #include "core/page/Page.h" |
55 #include "core/platform/MIMETypeRegistry.h" | 55 #include "core/platform/MIMETypeRegistry.h" |
56 #include "core/platform/network/HTTPParsers.h" | 56 #include "core/platform/network/HTTPParsers.h" |
57 #include "core/platform/network/ResourceHandleInternal.h" | 57 #include "core/platform/network/ResourceHandleInternal.h" |
58 #include "core/rendering/HitTestResult.h" | 58 #include "core/rendering/HitTestResult.h" |
59 #if ENABLE(MEDIA_STREAM) | 59 #if ENABLE(MEDIA_STREAM) |
60 #include "core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h" | 60 #include "core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h" |
61 #endif | 61 #endif |
62 #include <v8.h> | 62 #include <v8.h> |
63 #include "ScriptController.h" | 63 #include "ScriptController.h" |
64 #include "UserGestureIndicator.h" | |
65 #include "WebAutofillClient.h" | 64 #include "WebAutofillClient.h" |
66 #include "WebCachedURLRequest.h" | 65 #include "WebCachedURLRequest.h" |
67 #include "WebDOMEvent.h" | 66 #include "WebDOMEvent.h" |
68 #include "WebDataSourceImpl.h" | 67 #include "WebDataSourceImpl.h" |
69 #include "WebDevToolsAgentPrivate.h" | 68 #include "WebDevToolsAgentPrivate.h" |
70 #include "WebDocument.h" | 69 #include "WebDocument.h" |
71 #include "WebFormElement.h" | 70 #include "WebFormElement.h" |
72 #include "WebFrameClient.h" | 71 #include "WebFrameClient.h" |
73 #include "WebFrameImpl.h" | 72 #include "WebFrameImpl.h" |
74 #include "WebNode.h" | 73 #include "WebNode.h" |
75 #include "WebPermissionClient.h" | 74 #include "WebPermissionClient.h" |
76 #include "WebPlugin.h" | 75 #include "WebPlugin.h" |
77 #include "WebPluginContainerImpl.h" | 76 #include "WebPluginContainerImpl.h" |
78 #include "WebPluginLoadObserver.h" | 77 #include "WebPluginLoadObserver.h" |
79 #include "WebPluginParams.h" | 78 #include "WebPluginParams.h" |
80 #include "WebSecurityOrigin.h" | 79 #include "WebSecurityOrigin.h" |
81 #include "WebViewClient.h" | 80 #include "WebViewClient.h" |
82 #include "WebViewImpl.h" | 81 #include "WebViewImpl.h" |
| 82 #include "core/dom/UserGestureIndicator.h" |
83 #include "core/page/Settings.h" | 83 #include "core/page/Settings.h" |
84 #include "core/page/WindowFeatures.h" | 84 #include "core/page/WindowFeatures.h" |
85 #include "core/platform/chromium/support/WrappedResourceRequest.h" | 85 #include "core/platform/chromium/support/WrappedResourceRequest.h" |
86 #include "core/platform/chromium/support/WrappedResourceResponse.h" | 86 #include "core/platform/chromium/support/WrappedResourceResponse.h" |
87 #include "core/platform/network/SocketStreamHandleInternal.h" | 87 #include "core/platform/network/SocketStreamHandleInternal.h" |
88 #include <public/Platform.h> | 88 #include <public/Platform.h> |
89 #include <public/WebMimeRegistry.h> | 89 #include <public/WebMimeRegistry.h> |
90 #include <public/WebSocketStreamHandle.h> | 90 #include <public/WebSocketStreamHandle.h> |
91 #include <public/WebURL.h> | 91 #include <public/WebURL.h> |
92 #include <public/WebURLError.h> | 92 #include <public/WebURLError.h> |
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 1411 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
1412 } | 1412 } |
1413 | 1413 |
1414 void FrameLoaderClientImpl::dispatchWillInsertBody() | 1414 void FrameLoaderClientImpl::dispatchWillInsertBody() |
1415 { | 1415 { |
1416 if (m_webFrame->client()) | 1416 if (m_webFrame->client()) |
1417 m_webFrame->client()->willInsertBody(m_webFrame); | 1417 m_webFrame->client()->willInsertBody(m_webFrame); |
1418 } | 1418 } |
1419 | 1419 |
1420 } // namespace WebKit | 1420 } // namespace WebKit |
OLD | NEW |