OLD | NEW |
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 12 matching lines...) Expand all Loading... |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "build/build_config.h" | 24 #include "build/build_config.h" |
25 #include "content/browser/accessibility/browser_accessibility_manager.h" | 25 #include "content/browser/accessibility/browser_accessibility_manager.h" |
26 #include "content/browser/bad_message.h" | 26 #include "content/browser/bad_message.h" |
27 #include "content/browser/loader/global_routing_id.h" | 27 #include "content/browser/loader/global_routing_id.h" |
28 #include "content/browser/site_instance_impl.h" | 28 #include "content/browser/site_instance_impl.h" |
29 #include "content/browser/webui/web_ui_impl.h" | 29 #include "content/browser/webui/web_ui_impl.h" |
30 #include "content/common/accessibility_mode_enums.h" | 30 #include "content/common/accessibility_mode_enums.h" |
31 #include "content/common/ax_content_node_data.h" | 31 #include "content/common/ax_content_node_data.h" |
32 #include "content/common/content_export.h" | 32 #include "content/common/content_export.h" |
| 33 #include "content/common/content_security_policy/content_security_policy.h" |
33 #include "content/common/download/mhtml_save_status.h" | 34 #include "content/common/download/mhtml_save_status.h" |
34 #include "content/common/frame.mojom.h" | 35 #include "content/common/frame.mojom.h" |
35 #include "content/common/frame_message_enums.h" | 36 #include "content/common/frame_message_enums.h" |
36 #include "content/common/frame_replication_state.h" | 37 #include "content/common/frame_replication_state.h" |
37 #include "content/common/image_downloader/image_downloader.mojom.h" | 38 #include "content/common/image_downloader/image_downloader.mojom.h" |
38 #include "content/common/navigation_params.h" | 39 #include "content/common/navigation_params.h" |
39 #include "content/public/browser/render_frame_host.h" | 40 #include "content/public/browser/render_frame_host.h" |
40 #include "content/public/common/javascript_dialog_type.h" | 41 #include "content/public/common/javascript_dialog_type.h" |
41 #include "content/public/common/previews_state.h" | 42 #include "content/public/common/previews_state.h" |
42 #include "media/mojo/interfaces/interface_factory.mojom.h" | 43 #include "media/mojo/interfaces/interface_factory.mojom.h" |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 void OnTextSurroundingSelectionResponse(const base::string16& content, | 710 void OnTextSurroundingSelectionResponse(const base::string16& content, |
710 uint32_t start_offset, | 711 uint32_t start_offset, |
711 uint32_t end_offset); | 712 uint32_t end_offset); |
712 void OnFocusedFormFieldDataResponse(int request_id, | 713 void OnFocusedFormFieldDataResponse(int request_id, |
713 const FormFieldData& field_data); | 714 const FormFieldData& field_data); |
714 void OnDidAccessInitialDocument(); | 715 void OnDidAccessInitialDocument(); |
715 void OnDidChangeOpener(int32_t opener_routing_id); | 716 void OnDidChangeOpener(int32_t opener_routing_id); |
716 void OnDidChangeName(const std::string& name, const std::string& unique_name); | 717 void OnDidChangeName(const std::string& name, const std::string& unique_name); |
717 void OnDidSetFeaturePolicyHeader( | 718 void OnDidSetFeaturePolicyHeader( |
718 const ParsedFeaturePolicyHeader& parsed_header); | 719 const ParsedFeaturePolicyHeader& parsed_header); |
719 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 720 void OnDidAddContentSecurityPolicy( |
| 721 const ContentSecurityPolicyHeader& header, |
| 722 const std::vector<ContentSecurityPolicy>& policy); |
720 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 723 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
721 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); | 724 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); |
722 void OnDidChangeSandboxFlags(int32_t frame_routing_id, | 725 void OnDidChangeSandboxFlags(int32_t frame_routing_id, |
723 blink::WebSandboxFlags flags); | 726 blink::WebSandboxFlags flags); |
724 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, | 727 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, |
725 const FrameOwnerProperties& properties); | 728 const FrameOwnerProperties& properties); |
726 void OnUpdateTitle(const base::string16& title, | 729 void OnUpdateTitle(const base::string16& title, |
727 blink::WebTextDirection title_direction); | 730 blink::WebTextDirection title_direction); |
728 void OnUpdateEncoding(const std::string& encoding); | 731 void OnUpdateEncoding(const std::string& encoding); |
729 void OnBeginNavigation(const CommonNavigationParams& common_params, | 732 void OnBeginNavigation(const CommonNavigationParams& common_params, |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 | 1156 |
1154 // NOTE: This must be the last member. | 1157 // NOTE: This must be the last member. |
1155 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1158 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1156 | 1159 |
1157 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1160 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1158 }; | 1161 }; |
1159 | 1162 |
1160 } // namespace content | 1163 } // namespace content |
1161 | 1164 |
1162 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1165 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |