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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class WebInputMethodControllerImpl; 66 class WebInputMethodControllerImpl;
67 class WebNode; 67 class WebNode;
68 class WebPerformance; 68 class WebPerformance;
69 class WebPlugin; 69 class WebPlugin;
70 class WebPluginContainerImpl; 70 class WebPluginContainerImpl;
71 class WebScriptExecutionCallback; 71 class WebScriptExecutionCallback;
72 class WebView; 72 class WebView;
73 class WebViewImpl; 73 class WebViewImpl;
74 enum class WebFrameLoadType; 74 enum class WebFrameLoadType;
75 struct FrameLoadRequest; 75 struct FrameLoadRequest;
76 struct WebContentSecurityPolicyViolation;
76 struct WebPrintParams; 77 struct WebPrintParams;
77 78
78 template <typename T> 79 template <typename T>
79 class WebVector; 80 class WebVector;
80 81
81 // Implementation of WebFrame, note that this is a reference counted object. 82 // Implementation of WebFrame, note that this is a reference counted object.
82 class WEB_EXPORT WebLocalFrameImpl final 83 class WEB_EXPORT WebLocalFrameImpl final
83 : public WebFrameImplBase, 84 : public WebFrameImplBase,
84 NON_EXPORTED_BASE(public WebLocalFrame) { 85 NON_EXPORTED_BASE(public WebLocalFrame) {
85 public: 86 public:
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 const WebString& mimeType, 256 const WebString& mimeType,
256 const WebString& textEncoding, 257 const WebString& textEncoding,
257 const WebURL& baseURL, 258 const WebURL& baseURL,
258 const WebURL& unreachableURL, 259 const WebURL& unreachableURL,
259 bool replace, 260 bool replace,
260 WebFrameLoadType, 261 WebFrameLoadType,
261 const WebHistoryItem&, 262 const WebHistoryItem&,
262 WebHistoryLoadType, 263 WebHistoryLoadType,
263 bool isClientRedirect) override; 264 bool isClientRedirect) override;
264 bool maybeRenderFallbackContent(const WebURLError&) const override; 265 bool maybeRenderFallbackContent(const WebURLError&) const override;
266 void reportContentSecurityPolicyViolation(
267 const blink::WebContentSecurityPolicyViolation&) override;
265 bool isLoading() const override; 268 bool isLoading() const override;
266 bool isNavigationScheduledWithin(double interval) const override; 269 bool isNavigationScheduledWithin(double interval) const override;
267 void setCommittedFirstRealLoad() override; 270 void setCommittedFirstRealLoad() override;
268 void setHasReceivedUserGesture() override; 271 void setHasReceivedUserGesture() override;
269 void blinkFeatureUsageReport(const std::set<int>& features) override; 272 void blinkFeatureUsageReport(const std::set<int>& features) override;
270 void mixedContentFound(const WebURL& mainResourceUrl, 273 void mixedContentFound(const WebURL& mainResourceUrl,
271 const WebURL& mixedContentUrl, 274 const WebURL& mixedContentUrl,
272 WebURLRequest::RequestContext, 275 WebURLRequest::RequestContext,
273 bool wasAllowed, 276 bool wasAllowed,
274 bool hadRedirect) override; 277 bool hadRedirect) override;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 506
504 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 507 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
505 WebFrame, 508 WebFrame,
506 frame, 509 frame,
507 frame->isWebLocalFrame(), 510 frame->isWebLocalFrame(),
508 frame.isWebLocalFrame()); 511 frame.isWebLocalFrame());
509 512
510 } // namespace blink 513 } // namespace blink
511 514
512 #endif 515 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698