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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing CSP inheritance for srcdoc. Created 4 years, 7 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 class RenderProcessHost; 83 class RenderProcessHost;
84 class RenderViewHostImpl; 84 class RenderViewHostImpl;
85 class RenderWidgetHostDelegate; 85 class RenderWidgetHostDelegate;
86 class RenderWidgetHostImpl; 86 class RenderWidgetHostImpl;
87 class RenderWidgetHostView; 87 class RenderWidgetHostView;
88 class RenderWidgetHostViewBase; 88 class RenderWidgetHostViewBase;
89 class ResourceRequestBody; 89 class ResourceRequestBody;
90 class StreamHandle; 90 class StreamHandle;
91 class TimeoutMonitor; 91 class TimeoutMonitor;
92 class WebBluetoothServiceImpl; 92 class WebBluetoothServiceImpl;
93 struct ContentSecurityPolicyHeader;
93 struct ContextMenuParams; 94 struct ContextMenuParams;
94 struct GlobalRequestID; 95 struct GlobalRequestID;
95 struct Referrer; 96 struct Referrer;
96 struct ResourceResponse; 97 struct ResourceResponse;
97 98
98 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, 99 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
99 public BrowserAccessibilityDelegate, 100 public BrowserAccessibilityDelegate,
100 public SiteInstanceImpl::Observer { 101 public SiteInstanceImpl::Observer {
101 public: 102 public:
102 using AXTreeSnapshotCallback = 103 using AXTreeSnapshotCallback =
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 IPC::Message* reply_msg); 627 IPC::Message* reply_msg);
627 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 628 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
628 bool is_reload, 629 bool is_reload,
629 IPC::Message* reply_msg); 630 IPC::Message* reply_msg);
630 void OnTextSurroundingSelectionResponse(const base::string16& content, 631 void OnTextSurroundingSelectionResponse(const base::string16& content,
631 uint32_t start_offset, 632 uint32_t start_offset,
632 uint32_t end_offset); 633 uint32_t end_offset);
633 void OnDidAccessInitialDocument(); 634 void OnDidAccessInitialDocument();
634 void OnDidChangeOpener(int32_t opener_routing_id); 635 void OnDidChangeOpener(int32_t opener_routing_id);
635 void OnDidChangeName(const std::string& name, const std::string& unique_name); 636 void OnDidChangeName(const std::string& name, const std::string& unique_name);
637 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
636 void OnEnforceStrictMixedContentChecking(); 638 void OnEnforceStrictMixedContentChecking();
637 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); 639 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
638 void OnDidAssignPageId(int32_t page_id); 640 void OnDidAssignPageId(int32_t page_id);
639 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 641 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
640 blink::WebSandboxFlags flags); 642 blink::WebSandboxFlags flags);
641 void OnDidChangeFrameOwnerProperties( 643 void OnDidChangeFrameOwnerProperties(
642 int32_t frame_routing_id, 644 int32_t frame_routing_id,
643 const blink::WebFrameOwnerProperties& frame_owner_properties); 645 const blink::WebFrameOwnerProperties& frame_owner_properties);
644 void OnUpdateTitle(const base::string16& title, 646 void OnUpdateTitle(const base::string16& title,
645 blink::WebTextDirection title_direction); 647 blink::WebTextDirection title_direction);
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 975
974 // NOTE: This must be the last member. 976 // NOTE: This must be the last member.
975 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 977 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
976 978
977 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 979 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
978 }; 980 };
979 981
980 } // namespace content 982 } // namespace content
981 983
982 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 984 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698