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

Side by Side Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.h

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) 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void dispatchDidReceiveTitle(const String&) override; 98 void dispatchDidReceiveTitle(const String&) override;
99 void dispatchDidChangeIcons(IconType) override; 99 void dispatchDidChangeIcons(IconType) override;
100 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override; 100 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override;
101 void dispatchDidFailProvisionalLoad(const ResourceError&, 101 void dispatchDidFailProvisionalLoad(const ResourceError&,
102 HistoryCommitType) override; 102 HistoryCommitType) override;
103 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override; 103 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override;
104 void dispatchDidFinishDocumentLoad() override; 104 void dispatchDidFinishDocumentLoad() override;
105 void dispatchDidFinishLoad() override; 105 void dispatchDidFinishLoad() override;
106 106
107 void dispatchDidChangeThemeColor() override; 107 void dispatchDidChangeThemeColor() override;
108 NavigationPolicy decidePolicyForNavigation( 108 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&,
109 const ResourceRequest&, 109 DocumentLoader*,
110 DocumentLoader*, 110 NavigationType,
111 NavigationType, 111 NavigationPolicy,
112 NavigationPolicy, 112 bool shouldReplaceCurrentEntry,
113 bool shouldReplaceCurrentEntry, 113 bool isClientRedirect,
114 bool isClientRedirect, 114 HTMLFormElement*) override;
115 HTMLFormElement*,
116 ContentSecurityPolicyDisposition shouldBypassMainWorldCSP) override;
117 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 115 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
118 void dispatchWillSubmitForm(HTMLFormElement*) override; 116 void dispatchWillSubmitForm(HTMLFormElement*) override;
119 void didStartLoading(LoadStartType) override; 117 void didStartLoading(LoadStartType) override;
120 void didStopLoading() override; 118 void didStopLoading() override;
121 void progressEstimateChanged(double progressEstimate) override; 119 void progressEstimateChanged(double progressEstimate) override;
122 void loadURLExternally(const ResourceRequest&, 120 void loadURLExternally(const ResourceRequest&,
123 NavigationPolicy, 121 NavigationPolicy,
124 const String& suggestedName, 122 const String& suggestedName,
125 bool shouldReplaceCurrentEntry) override; 123 bool shouldReplaceCurrentEntry) override;
126 void loadErrorPage(int reason) override; 124 void loadErrorPage(int reason) override;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 238
241 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 239 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
242 LocalFrameClient, 240 LocalFrameClient,
243 client, 241 client,
244 client->isLocalFrameClientImpl(), 242 client->isLocalFrameClientImpl(),
245 client.isLocalFrameClientImpl()); 243 client.isLocalFrameClientImpl());
246 244
247 } // namespace blink 245 } // namespace blink
248 246
249 #endif 247 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698