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

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

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Fp2 Created 4 years 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 IPC::Message* reply_msg); 657 IPC::Message* reply_msg);
658 void OnRunFileChooser(const FileChooserParams& params); 658 void OnRunFileChooser(const FileChooserParams& params);
659 void OnTextSurroundingSelectionResponse(const base::string16& content, 659 void OnTextSurroundingSelectionResponse(const base::string16& content,
660 uint32_t start_offset, 660 uint32_t start_offset,
661 uint32_t end_offset); 661 uint32_t end_offset);
662 void OnFocusedFormFieldDataResponse(int request_id, 662 void OnFocusedFormFieldDataResponse(int request_id,
663 const FormFieldData& field_data); 663 const FormFieldData& field_data);
664 void OnDidAccessInitialDocument(); 664 void OnDidAccessInitialDocument();
665 void OnDidChangeOpener(int32_t opener_routing_id); 665 void OnDidChangeOpener(int32_t opener_routing_id);
666 void OnDidChangeName(const std::string& name, const std::string& unique_name); 666 void OnDidChangeName(const std::string& name, const std::string& unique_name);
667 void OnDidSetFeaturePolicyHeader(const std::string& header); 667 void OnDidSetFeaturePolicyHeader(
668 const std::vector<FeaturePolicyParsedWhitelist>& parsed_header);
668 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 669 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
669 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); 670 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
670 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); 671 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
671 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 672 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
672 blink::WebSandboxFlags flags); 673 blink::WebSandboxFlags flags);
673 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, 674 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id,
674 const FrameOwnerProperties& properties); 675 const FrameOwnerProperties& properties);
675 void OnUpdateTitle(const base::string16& title, 676 void OnUpdateTitle(const base::string16& title,
676 blink::WebTextDirection title_direction); 677 blink::WebTextDirection title_direction);
677 void OnUpdateEncoding(const std::string& encoding); 678 void OnUpdateEncoding(const std::string& encoding);
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 remote_associated_interfaces_; 1072 remote_associated_interfaces_;
1072 // NOTE: This must be the last member. 1073 // NOTE: This must be the last member.
1073 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1074 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1074 1075
1075 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1076 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1076 }; 1077 };
1077 1078
1078 } // namespace content 1079 } // namespace content
1079 1080
1080 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1081 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698