| 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 11 matching lines...) Expand all Loading... |
| 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 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 "sky/engine/config.h" |
| 33 #include "web/FrameLoaderClientImpl.h" | 33 #include "sky/engine/web/FrameLoaderClientImpl.h" |
| 34 | 34 |
| 35 #include "bindings/core/v8/ScriptController.h" | |
| 36 #include "core/dom/Document.h" | |
| 37 #include "core/events/MouseEvent.h" | |
| 38 #include "core/frame/FrameView.h" | |
| 39 #include "core/frame/Settings.h" | |
| 40 #include "core/html/HTMLIFrameElement.h" | |
| 41 #include "core/page/Chrome.h" | |
| 42 #include "core/page/EventHandler.h" | |
| 43 #include "core/page/Page.h" | |
| 44 #include "core/rendering/HitTestResult.h" | |
| 45 #include "platform/exported/WrappedResourceRequest.h" | |
| 46 #include "platform/exported/WrappedResourceResponse.h" | |
| 47 #include "platform/MIMETypeRegistry.h" | |
| 48 #include "platform/network/HTTPParsers.h" | |
| 49 #include "gen/sky/platform/RuntimeEnabledFeatures.h" | 35 #include "gen/sky/platform/RuntimeEnabledFeatures.h" |
| 50 #include "platform/UserGestureIndicator.h" | 36 #include "sky/engine/bindings/core/v8/ScriptController.h" |
| 51 #include "public/platform/Platform.h" | 37 #include "sky/engine/core/dom/Document.h" |
| 52 #include "public/platform/WebMimeRegistry.h" | 38 #include "sky/engine/core/events/MouseEvent.h" |
| 53 #include "public/platform/WebURL.h" | 39 #include "sky/engine/core/frame/FrameView.h" |
| 54 #include "public/platform/WebURLError.h" | 40 #include "sky/engine/core/frame/Settings.h" |
| 55 #include "public/platform/WebVector.h" | 41 #include "sky/engine/core/html/HTMLIFrameElement.h" |
| 56 #include "public/web/WebCachedURLRequest.h" | 42 #include "sky/engine/core/page/Chrome.h" |
| 57 #include "public/web/WebDocument.h" | 43 #include "sky/engine/core/page/EventHandler.h" |
| 58 #include "public/web/WebFrameClient.h" | 44 #include "sky/engine/core/page/Page.h" |
| 59 #include "public/web/WebNode.h" | 45 #include "sky/engine/core/rendering/HitTestResult.h" |
| 60 #include "public/web/WebViewClient.h" | 46 #include "sky/engine/platform/MIMETypeRegistry.h" |
| 47 #include "sky/engine/platform/UserGestureIndicator.h" |
| 48 #include "sky/engine/platform/exported/WrappedResourceRequest.h" |
| 49 #include "sky/engine/platform/exported/WrappedResourceResponse.h" |
| 50 #include "sky/engine/platform/network/HTTPParsers.h" |
| 51 #include "sky/engine/public/platform/Platform.h" |
| 52 #include "sky/engine/public/platform/WebMimeRegistry.h" |
| 53 #include "sky/engine/public/platform/WebURL.h" |
| 54 #include "sky/engine/public/platform/WebURLError.h" |
| 55 #include "sky/engine/public/platform/WebVector.h" |
| 56 #include "sky/engine/public/web/WebCachedURLRequest.h" |
| 57 #include "sky/engine/public/web/WebDocument.h" |
| 58 #include "sky/engine/public/web/WebFrameClient.h" |
| 59 #include "sky/engine/public/web/WebNode.h" |
| 60 #include "sky/engine/public/web/WebViewClient.h" |
| 61 #include "sky/engine/web/WebLocalFrameImpl.h" |
| 62 #include "sky/engine/web/WebViewImpl.h" |
| 63 #include "sky/engine/wtf/StringExtras.h" |
| 64 #include "sky/engine/wtf/text/CString.h" |
| 65 #include "sky/engine/wtf/text/WTFString.h" |
| 61 #include "v8/include/v8.h" | 66 #include "v8/include/v8.h" |
| 62 #include "web/WebLocalFrameImpl.h" | |
| 63 #include "web/WebViewImpl.h" | |
| 64 #include "wtf/StringExtras.h" | |
| 65 #include "wtf/text/CString.h" | |
| 66 #include "wtf/text/WTFString.h" | |
| 67 | 67 |
| 68 namespace blink { | 68 namespace blink { |
| 69 | 69 |
| 70 FrameLoaderClientImpl::FrameLoaderClientImpl(WebLocalFrameImpl* frame) | 70 FrameLoaderClientImpl::FrameLoaderClientImpl(WebLocalFrameImpl* frame) |
| 71 : m_webFrame(frame) | 71 : m_webFrame(frame) |
| 72 { | 72 { |
| 73 } | 73 } |
| 74 | 74 |
| 75 FrameLoaderClientImpl::~FrameLoaderClientImpl() | 75 FrameLoaderClientImpl::~FrameLoaderClientImpl() |
| 76 { | 76 { |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 282 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
| 283 } | 283 } |
| 284 | 284 |
| 285 void FrameLoaderClientImpl::dispatchDidChangeManifest() | 285 void FrameLoaderClientImpl::dispatchDidChangeManifest() |
| 286 { | 286 { |
| 287 if (m_webFrame->client()) | 287 if (m_webFrame->client()) |
| 288 m_webFrame->client()->didChangeManifest(m_webFrame); | 288 m_webFrame->client()->didChangeManifest(m_webFrame); |
| 289 } | 289 } |
| 290 | 290 |
| 291 } // namespace blink | 291 } // namespace blink |
| OLD | NEW |