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

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

Issue 2483703002: Replicate feature policy headers to remote frames (Closed)
Patch Set: Addressing review comments Created 4 years, 1 month 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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 654 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
655 bool is_reload, 655 bool is_reload,
656 IPC::Message* reply_msg); 656 IPC::Message* reply_msg);
657 void OnRunFileChooser(const FileChooserParams& params); 657 void OnRunFileChooser(const FileChooserParams& params);
658 void OnTextSurroundingSelectionResponse(const base::string16& content, 658 void OnTextSurroundingSelectionResponse(const base::string16& content,
659 uint32_t start_offset, 659 uint32_t start_offset,
660 uint32_t end_offset); 660 uint32_t end_offset);
661 void OnDidAccessInitialDocument(); 661 void OnDidAccessInitialDocument();
662 void OnDidChangeOpener(int32_t opener_routing_id); 662 void OnDidChangeOpener(int32_t opener_routing_id);
663 void OnDidChangeName(const std::string& name, const std::string& unique_name); 663 void OnDidChangeName(const std::string& name, const std::string& unique_name);
664 void OnDidSetFeaturePolicyHeader(const std::string& header);
664 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 665 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
665 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); 666 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
666 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); 667 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
667 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 668 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
668 blink::WebSandboxFlags flags); 669 blink::WebSandboxFlags flags);
669 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, 670 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id,
670 const FrameOwnerProperties& properties); 671 const FrameOwnerProperties& properties);
671 void OnUpdateTitle(const base::string16& title, 672 void OnUpdateTitle(const base::string16& title,
672 blink::WebTextDirection title_direction); 673 blink::WebTextDirection title_direction);
673 void OnUpdateEncoding(const std::string& encoding); 674 void OnUpdateEncoding(const std::string& encoding);
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 remote_associated_interfaces_; 1065 remote_associated_interfaces_;
1065 // NOTE: This must be the last member. 1066 // NOTE: This must be the last member.
1066 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1067 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1067 1068
1068 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1069 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1069 }; 1070 };
1070 1071
1071 } // namespace content 1072 } // namespace content
1072 1073
1073 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1074 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698