Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. |
| 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 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 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 137 } | 137 } |
| 138 | 138 |
| 139 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} | 139 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} |
| 140 | 140 |
| 141 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {} | 141 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {} |
| 142 | 142 |
| 143 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader( | 143 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader( |
| 144 LocalFrame* frame, | 144 LocalFrame* frame, |
| 145 const ResourceRequest& request, | 145 const ResourceRequest& request, |
| 146 const SubstituteData& substituteData, | 146 const SubstituteData& substituteData, |
| 147 ClientRedirectPolicy clientRedirectPolicy) { | 147 ClientRedirectPolicy clientRedirectPolicy, |
| 148 Document* requestorDocument) { | |
|
dcheng
2016/11/12 06:02:13
I could plumb this through here as well, but I opt
| |
| 148 return DocumentLoader::create(frame, request, substituteData, | 149 return DocumentLoader::create(frame, request, substituteData, |
| 149 clientRedirectPolicy); | 150 clientRedirectPolicy); |
| 150 } | 151 } |
| 151 | 152 |
| 152 LocalFrame* EmptyFrameLoaderClient::createFrame(const FrameLoadRequest&, | 153 LocalFrame* EmptyFrameLoaderClient::createFrame(const FrameLoadRequest&, |
| 153 const AtomicString&, | 154 const AtomicString&, |
| 154 HTMLFrameOwnerElement*) { | 155 HTMLFrameOwnerElement*) { |
| 155 return nullptr; | 156 return nullptr; |
| 156 } | 157 } |
| 157 | 158 |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 181 return nullptr; | 182 return nullptr; |
| 182 } | 183 } |
| 183 | 184 |
| 184 std::unique_ptr<WebApplicationCacheHost> | 185 std::unique_ptr<WebApplicationCacheHost> |
| 185 EmptyFrameLoaderClient::createApplicationCacheHost( | 186 EmptyFrameLoaderClient::createApplicationCacheHost( |
| 186 WebApplicationCacheHostClient*) { | 187 WebApplicationCacheHostClient*) { |
| 187 return nullptr; | 188 return nullptr; |
| 188 } | 189 } |
| 189 | 190 |
| 190 } // namespace blink | 191 } // namespace blink |
| OLD | NEW |