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

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

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

Powered by Google App Engine
This is Rietveld 408576698