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

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, 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 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class WebInputMethodControllerImpl; 65 class WebInputMethodControllerImpl;
66 class WebNode; 66 class WebNode;
67 class WebPerformance; 67 class WebPerformance;
68 class WebPlugin; 68 class WebPlugin;
69 class WebPluginContainerImpl; 69 class WebPluginContainerImpl;
70 class WebScriptExecutionCallback; 70 class WebScriptExecutionCallback;
71 class WebView; 71 class WebView;
72 class WebViewImpl; 72 class WebViewImpl;
73 enum class WebFrameLoadType; 73 enum class WebFrameLoadType;
74 struct FrameLoadRequest; 74 struct FrameLoadRequest;
75 struct WebContentSecurityPolicyViolation;
75 struct WebPrintParams; 76 struct WebPrintParams;
76 77
77 template <typename T> 78 template <typename T>
78 class WebVector; 79 class WebVector;
79 80
80 // Implementation of WebFrame, note that this is a reference counted object. 81 // Implementation of WebFrame, note that this is a reference counted object.
81 class WEB_EXPORT WebLocalFrameImpl final 82 class WEB_EXPORT WebLocalFrameImpl final
82 : public WebFrameImplBase, 83 : public WebFrameImplBase,
83 NON_EXPORTED_BASE(public WebLocalFrame) { 84 NON_EXPORTED_BASE(public WebLocalFrame) {
84 public: 85 public:
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 const WebString& mimeType, 254 const WebString& mimeType,
254 const WebString& textEncoding, 255 const WebString& textEncoding,
255 const WebURL& baseURL, 256 const WebURL& baseURL,
256 const WebURL& unreachableURL, 257 const WebURL& unreachableURL,
257 bool replace, 258 bool replace,
258 WebFrameLoadType, 259 WebFrameLoadType,
259 const WebHistoryItem&, 260 const WebHistoryItem&,
260 WebHistoryLoadType, 261 WebHistoryLoadType,
261 bool isClientRedirect) override; 262 bool isClientRedirect) override;
262 bool maybeRenderFallbackContent(const WebURLError&) const override; 263 bool maybeRenderFallbackContent(const WebURLError&) const override;
264 void reportContentSecurityPolicyViolation(
265 const blink::WebContentSecurityPolicyViolation&) override;
263 bool isLoading() const override; 266 bool isLoading() const override;
264 bool isNavigationScheduledWithin(double interval) const override; 267 bool isNavigationScheduledWithin(double interval) const override;
265 void setCommittedFirstRealLoad() override; 268 void setCommittedFirstRealLoad() override;
266 void setHasReceivedUserGesture() override; 269 void setHasReceivedUserGesture() override;
267 void blinkFeatureUsageReport(const std::set<int>& features) override; 270 void blinkFeatureUsageReport(const std::set<int>& features) override;
268 void mixedContentFound(const WebURL& mainResourceUrl, 271 void mixedContentFound(const WebURL& mainResourceUrl,
269 const WebURL& mixedContentUrl, 272 const WebURL& mixedContentUrl,
270 WebURLRequest::RequestContext, 273 WebURLRequest::RequestContext,
271 bool wasAllowed, 274 bool wasAllowed,
272 bool hadRedirect) override; 275 bool hadRedirect) override;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 504
502 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 505 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
503 WebFrame, 506 WebFrame,
504 frame, 507 frame,
505 frame->isWebLocalFrame(), 508 frame->isWebLocalFrame(),
506 frame.isWebLocalFrame()); 509 frame.isWebLocalFrame());
507 510
508 } // namespace blink 511 } // namespace blink
509 512
510 #endif 513 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698