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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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 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 contentSecurityPolicyViolation(
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 sendOrientationChangeEvent() override; 270 void sendOrientationChangeEvent() override;
268 WebSandboxFlags effectiveSandboxFlags() const override; 271 WebSandboxFlags effectiveSandboxFlags() const override;
269 void forceSandboxFlags(WebSandboxFlags) override; 272 void forceSandboxFlags(WebSandboxFlags) override;
270 void didCallAddSearchProvider() override; 273 void didCallAddSearchProvider() override;
271 void didCallIsSearchProviderInstalled() override; 274 void didCallIsSearchProviderInstalled() override;
272 void replaceSelection(const WebString&) override; 275 void replaceSelection(const WebString&) override;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 498
496 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 499 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
497 WebFrame, 500 WebFrame,
498 frame, 501 frame,
499 frame->isWebLocalFrame(), 502 frame->isWebLocalFrame(),
500 frame.isWebLocalFrame()); 503 frame.isWebLocalFrame());
501 504
502 } // namespace blink 505 } // namespace blink
503 506
504 #endif 507 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698