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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Rebase. 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(const ResourceRequest&, 108 NavigationPolicy decidePolicyForNavigation(
109 DocumentLoader*, 109 const ResourceRequest&,
110 NavigationType, 110 DocumentLoader*,
111 NavigationPolicy, 111 NavigationType,
112 bool shouldReplaceCurrentEntry, 112 NavigationPolicy,
113 bool isClientRedirect, 113 bool shouldReplaceCurrentEntry,
114 HTMLFormElement*) override; 114 bool isClientRedirect,
115 HTMLFormElement*,
116 ContentSecurityPolicyDisposition shouldBypassMainWorldCSP) override;
115 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 117 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
116 void dispatchWillSubmitForm(HTMLFormElement*) override; 118 void dispatchWillSubmitForm(HTMLFormElement*) override;
117 void didStartLoading(LoadStartType) override; 119 void didStartLoading(LoadStartType) override;
118 void didStopLoading() override; 120 void didStopLoading() override;
119 void progressEstimateChanged(double progressEstimate) override; 121 void progressEstimateChanged(double progressEstimate) override;
120 void loadURLExternally(const ResourceRequest&, 122 void loadURLExternally(const ResourceRequest&,
121 NavigationPolicy, 123 NavigationPolicy,
122 const String& suggestedName, 124 const String& suggestedName,
123 bool shouldReplaceCurrentEntry) override; 125 bool shouldReplaceCurrentEntry) override;
124 void loadErrorPage(int reason) override; 126 void loadErrorPage(int reason) override;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 240
239 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 241 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
240 LocalFrameClient, 242 LocalFrameClient,
241 client, 243 client,
242 client->isLocalFrameClientImpl(), 244 client->isLocalFrameClientImpl(),
243 client.isLocalFrameClientImpl()); 245 client.isLocalFrameClientImpl());
244 246
245 } // namespace blink 247 } // namespace blink
246 248
247 #endif 249 #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