Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.cpp

Issue 2416523002: Expose the initiating origin/URL of a navigation in the Blink public API (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 } 138 }
139 139
140 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} 140 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {}
141 141
142 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {} 142 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {}
143 143
144 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader( 144 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader(
145 LocalFrame* frame, 145 LocalFrame* frame,
146 const ResourceRequest& request, 146 const ResourceRequest& request,
147 const SubstituteData& substituteData, 147 const SubstituteData& substituteData,
148 ClientRedirectPolicy clientRedirectPolicy) { 148 ClientRedirectPolicy clientRedirectPolicy,
149 Document* requestorDocument) {
149 return DocumentLoader::create(frame, request, substituteData, 150 return DocumentLoader::create(frame, request, substituteData,
150 clientRedirectPolicy); 151 clientRedirectPolicy, requestorDocument);
151 } 152 }
152 153
153 LocalFrame* EmptyFrameLoaderClient::createFrame(const FrameLoadRequest&, 154 LocalFrame* EmptyFrameLoaderClient::createFrame(const FrameLoadRequest&,
154 const AtomicString&, 155 const AtomicString&,
155 HTMLFrameOwnerElement*) { 156 HTMLFrameOwnerElement*) {
156 return nullptr; 157 return nullptr;
157 } 158 }
158 159
159 Widget* EmptyFrameLoaderClient::createPlugin(HTMLPlugInElement*, 160 Widget* EmptyFrameLoaderClient::createPlugin(HTMLPlugInElement*,
160 const KURL&, 161 const KURL&,
(...skipping 26 matching lines...) Expand all
187 return nullptr; 188 return nullptr;
188 } 189 }
189 190
190 std::unique_ptr<WebApplicationCacheHost> 191 std::unique_ptr<WebApplicationCacheHost>
191 EmptyFrameLoaderClient::createApplicationCacheHost( 192 EmptyFrameLoaderClient::createApplicationCacheHost(
192 WebApplicationCacheHostClient*) { 193 WebApplicationCacheHostClient*) {
193 return nullptr; 194 return nullptr;
194 } 195 }
195 196
196 } // namespace blink 197 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698