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

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

Issue 2485783002: PlzNavigate: send searchable form data to the browser side on form submission. (Closed)
Patch Set: rebase&resolve Created 4 years, 1 month 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 BlameContext*) { 125 BlameContext*) {
126 return wrapUnique(new EmptyFrameScheduler()); 126 return wrapUnique(new EmptyFrameScheduler());
127 } 127 }
128 128
129 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation( 129 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(
130 const ResourceRequest&, 130 const ResourceRequest&,
131 DocumentLoader*, 131 DocumentLoader*,
132 NavigationType, 132 NavigationType,
133 NavigationPolicy, 133 NavigationPolicy,
134 bool, 134 bool,
135 bool) { 135 bool,
136 HTMLFormElement*) {
136 return NavigationPolicyIgnore; 137 return NavigationPolicyIgnore;
137 } 138 }
138 139
139 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} 140 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {}
140 141
141 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {} 142 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {}
142 143
143 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader( 144 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader(
144 LocalFrame* frame, 145 LocalFrame* frame,
145 const ResourceRequest& request, 146 const ResourceRequest& request,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 return nullptr; 187 return nullptr;
187 } 188 }
188 189
189 std::unique_ptr<WebApplicationCacheHost> 190 std::unique_ptr<WebApplicationCacheHost>
190 EmptyFrameLoaderClient::createApplicationCacheHost( 191 EmptyFrameLoaderClient::createApplicationCacheHost(
191 WebApplicationCacheHostClient*) { 192 WebApplicationCacheHostClient*) {
192 return nullptr; 193 return nullptr;
193 } 194 }
194 195
195 } // namespace blink 196 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698