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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Fix tests. Created 3 years, 10 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void dispatchDidReceiveTitle(const String&) override; 96 void dispatchDidReceiveTitle(const String&) override;
97 void dispatchDidChangeIcons(IconType) override; 97 void dispatchDidChangeIcons(IconType) override;
98 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override; 98 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override;
99 void dispatchDidFailProvisionalLoad(const ResourceError&, 99 void dispatchDidFailProvisionalLoad(const ResourceError&,
100 HistoryCommitType) override; 100 HistoryCommitType) override;
101 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override; 101 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override;
102 void dispatchDidFinishDocumentLoad() override; 102 void dispatchDidFinishDocumentLoad() override;
103 void dispatchDidFinishLoad() override; 103 void dispatchDidFinishLoad() override;
104 104
105 void dispatchDidChangeThemeColor() override; 105 void dispatchDidChangeThemeColor() override;
106 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, 106 NavigationPolicy decidePolicyForNavigation(
107 DocumentLoader*, 107 const ResourceRequest&,
108 NavigationType, 108 DocumentLoader*,
109 NavigationPolicy, 109 NavigationType,
110 bool shouldReplaceCurrentEntry, 110 NavigationPolicy,
111 bool isClientRedirect, 111 bool shouldReplaceCurrentEntry,
112 HTMLFormElement*) override; 112 bool isClientRedirect,
113 HTMLFormElement*,
114 ContentSecurityPolicyDisposition shouldBypassMainWorldCSP) override;
113 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 115 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
114 void dispatchWillSubmitForm(HTMLFormElement*) override; 116 void dispatchWillSubmitForm(HTMLFormElement*) override;
115 void didStartLoading(LoadStartType) override; 117 void didStartLoading(LoadStartType) override;
116 void didStopLoading() override; 118 void didStopLoading() override;
117 void progressEstimateChanged(double progressEstimate) override; 119 void progressEstimateChanged(double progressEstimate) override;
118 void loadURLExternally(const ResourceRequest&, 120 void loadURLExternally(const ResourceRequest&,
119 NavigationPolicy, 121 NavigationPolicy,
120 const String& suggestedName, 122 const String& suggestedName,
121 bool shouldReplaceCurrentEntry) override; 123 bool shouldReplaceCurrentEntry) override;
122 void loadErrorPage(int reason) override; 124 void loadErrorPage(int reason) override;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 240
239 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 241 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
240 FrameLoaderClient, 242 FrameLoaderClient,
241 client, 243 client,
242 client->isFrameLoaderClientImpl(), 244 client->isFrameLoaderClientImpl(),
243 client.isFrameLoaderClientImpl()); 245 client.isFrameLoaderClientImpl());
244 246
245 } // namespace blink 247 } // namespace blink
246 248
247 #endif 249 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698