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

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

Issue 2756913002: Revert of PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Created 3 years, 9 months 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 return WTF::makeUnique<EmptyFrameScheduler>(); 127 return WTF::makeUnique<EmptyFrameScheduler>();
128 } 128 }
129 129
130 NavigationPolicy EmptyLocalFrameClient::decidePolicyForNavigation( 130 NavigationPolicy EmptyLocalFrameClient::decidePolicyForNavigation(
131 const ResourceRequest&, 131 const ResourceRequest&,
132 DocumentLoader*, 132 DocumentLoader*,
133 NavigationType, 133 NavigationType,
134 NavigationPolicy, 134 NavigationPolicy,
135 bool, 135 bool,
136 bool, 136 bool,
137 HTMLFormElement*, 137 HTMLFormElement*) {
138 ContentSecurityPolicyDisposition) {
139 return NavigationPolicyIgnore; 138 return NavigationPolicyIgnore;
140 } 139 }
141 140
142 void EmptyLocalFrameClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} 141 void EmptyLocalFrameClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {}
143 142
144 void EmptyLocalFrameClient::dispatchWillSubmitForm(HTMLFormElement*) {} 143 void EmptyLocalFrameClient::dispatchWillSubmitForm(HTMLFormElement*) {}
145 144
146 DocumentLoader* EmptyLocalFrameClient::createDocumentLoader( 145 DocumentLoader* EmptyLocalFrameClient::createDocumentLoader(
147 LocalFrame* frame, 146 LocalFrame* frame,
148 const ResourceRequest& request, 147 const ResourceRequest& request,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 192
194 std::unique_ptr<WebApplicationCacheHost> 193 std::unique_ptr<WebApplicationCacheHost>
195 EmptyLocalFrameClient::createApplicationCacheHost( 194 EmptyLocalFrameClient::createApplicationCacheHost(
196 WebApplicationCacheHostClient*) { 195 WebApplicationCacheHostClient*) {
197 return nullptr; 196 return nullptr;
198 } 197 }
199 198
200 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; 199 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default;
201 200
202 } // namespace blink 201 } // 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