| 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/csp_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_message_type.h" | 41 #include "content/public/common/javascript_message_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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 void OnRunFileChooser(const FileChooserParams& params); | 696 void OnRunFileChooser(const FileChooserParams& params); |
| 696 void OnTextSurroundingSelectionResponse(const base::string16& content, | 697 void OnTextSurroundingSelectionResponse(const base::string16& content, |
| 697 uint32_t start_offset, | 698 uint32_t start_offset, |
| 698 uint32_t end_offset); | 699 uint32_t end_offset); |
| 699 void OnFocusedFormFieldDataResponse(int request_id, | 700 void OnFocusedFormFieldDataResponse(int request_id, |
| 700 const FormFieldData& field_data); | 701 const FormFieldData& field_data); |
| 701 void OnDidAccessInitialDocument(); | 702 void OnDidAccessInitialDocument(); |
| 702 void OnDidChangeOpener(int32_t opener_routing_id); | 703 void OnDidChangeOpener(int32_t opener_routing_id); |
| 703 void OnDidChangeName(const std::string& name, const std::string& unique_name); | 704 void OnDidChangeName(const std::string& name, const std::string& unique_name); |
| 704 void OnDidSetFeaturePolicyHeader(const ParsedFeaturePolicy& parsed_header); | 705 void OnDidSetFeaturePolicyHeader(const ParsedFeaturePolicy& parsed_header); |
| 705 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 706 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header, |
| 707 const CSPPolicy& policy); |
| 706 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 708 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
| 707 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); | 709 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); |
| 708 void OnDidChangeSandboxFlags(int32_t frame_routing_id, | 710 void OnDidChangeSandboxFlags(int32_t frame_routing_id, |
| 709 blink::WebSandboxFlags flags); | 711 blink::WebSandboxFlags flags); |
| 710 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, | 712 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, |
| 711 const FrameOwnerProperties& properties); | 713 const FrameOwnerProperties& properties); |
| 712 void OnUpdateTitle(const base::string16& title, | 714 void OnUpdateTitle(const base::string16& title, |
| 713 blink::WebTextDirection title_direction); | 715 blink::WebTextDirection title_direction); |
| 714 void OnUpdateEncoding(const std::string& encoding); | 716 void OnUpdateEncoding(const std::string& encoding); |
| 715 void OnBeginNavigation(const CommonNavigationParams& common_params, | 717 void OnBeginNavigation(const CommonNavigationParams& common_params, |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 | 1135 |
| 1134 // NOTE: This must be the last member. | 1136 // NOTE: This must be the last member. |
| 1135 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1137 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1136 | 1138 |
| 1137 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1139 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1138 }; | 1140 }; |
| 1139 | 1141 |
| 1140 } // namespace content | 1142 } // namespace content |
| 1141 | 1143 |
| 1142 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1144 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |