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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 class RenderProcessHost; | 93 class RenderProcessHost; |
94 class RenderViewHostImpl; | 94 class RenderViewHostImpl; |
95 class RenderWidgetHostDelegate; | 95 class RenderWidgetHostDelegate; |
96 class RenderWidgetHostImpl; | 96 class RenderWidgetHostImpl; |
97 class RenderWidgetHostView; | 97 class RenderWidgetHostView; |
98 class RenderWidgetHostViewBase; | 98 class RenderWidgetHostViewBase; |
99 class ResourceRequestBody; | 99 class ResourceRequestBody; |
100 class StreamHandle; | 100 class StreamHandle; |
101 class TimeoutMonitor; | 101 class TimeoutMonitor; |
102 class WebBluetoothServiceImpl; | 102 class WebBluetoothServiceImpl; |
103 struct ContentSecurityPolicyHeader; | |
104 struct ContextMenuParams; | 103 struct ContextMenuParams; |
105 struct FileChooserParams; | 104 struct FileChooserParams; |
106 struct FrameOwnerProperties; | 105 struct FrameOwnerProperties; |
107 struct FileChooserParams; | 106 struct FileChooserParams; |
108 struct ResourceResponse; | 107 struct ResourceResponse; |
109 | 108 |
110 namespace mojom { | 109 namespace mojom { |
111 class CreateNewWindowParams; | 110 class CreateNewWindowParams; |
112 } | 111 } |
113 | 112 |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 void OnRunFileChooser(const FileChooserParams& params); | 717 void OnRunFileChooser(const FileChooserParams& params); |
719 void OnTextSurroundingSelectionResponse(const base::string16& content, | 718 void OnTextSurroundingSelectionResponse(const base::string16& content, |
720 uint32_t start_offset, | 719 uint32_t start_offset, |
721 uint32_t end_offset); | 720 uint32_t end_offset); |
722 void OnDidAccessInitialDocument(); | 721 void OnDidAccessInitialDocument(); |
723 void OnDidChangeOpener(int32_t opener_routing_id); | 722 void OnDidChangeOpener(int32_t opener_routing_id); |
724 void OnDidChangeName(const std::string& name, const std::string& unique_name); | 723 void OnDidChangeName(const std::string& name, const std::string& unique_name); |
725 void OnDidSetFeaturePolicyHeader( | 724 void OnDidSetFeaturePolicyHeader( |
726 const ParsedFeaturePolicyHeader& parsed_header); | 725 const ParsedFeaturePolicyHeader& parsed_header); |
727 | 726 |
728 // A CSP |header| has been added. | 727 // A new set of CSP |policies| has been added to the document. |
729 // RFC2616, section 4.2 specifies that headers appearing multiple times can be | 728 void OnDidAddContentSecurityPolicies( |
730 // combined with a comma. Hence zero, one or several |policies| are added to | |
731 // the document. | |
732 void OnDidAddContentSecurityPolicy( | |
733 const ContentSecurityPolicyHeader& header, | |
734 const std::vector<ContentSecurityPolicy>& policies); | 729 const std::vector<ContentSecurityPolicy>& policies); |
735 | 730 |
736 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 731 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
737 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); | 732 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); |
738 void OnDidChangeSandboxFlags(int32_t frame_routing_id, | 733 void OnDidChangeSandboxFlags(int32_t frame_routing_id, |
739 blink::WebSandboxFlags flags); | 734 blink::WebSandboxFlags flags); |
740 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, | 735 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, |
741 const FrameOwnerProperties& properties); | 736 const FrameOwnerProperties& properties); |
742 void OnUpdateTitle(const base::string16& title, | 737 void OnUpdateTitle(const base::string16& title, |
743 blink::WebTextDirection title_direction); | 738 blink::WebTextDirection title_direction); |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 | 1160 |
1166 // NOTE: This must be the last member. | 1161 // NOTE: This must be the last member. |
1167 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1162 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1168 | 1163 |
1169 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1164 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1170 }; | 1165 }; |
1171 | 1166 |
1172 } // namespace content | 1167 } // namespace content |
1173 | 1168 |
1174 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1169 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |