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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 void OnRunFileChooser(const FileChooserParams& params); | 722 void OnRunFileChooser(const FileChooserParams& params); |
724 void OnTextSurroundingSelectionResponse(const base::string16& content, | 723 void OnTextSurroundingSelectionResponse(const base::string16& content, |
725 uint32_t start_offset, | 724 uint32_t start_offset, |
726 uint32_t end_offset); | 725 uint32_t end_offset); |
727 void OnDidAccessInitialDocument(); | 726 void OnDidAccessInitialDocument(); |
728 void OnDidChangeOpener(int32_t opener_routing_id); | 727 void OnDidChangeOpener(int32_t opener_routing_id); |
729 void OnDidChangeName(const std::string& name, const std::string& unique_name); | 728 void OnDidChangeName(const std::string& name, const std::string& unique_name); |
730 void OnDidSetFeaturePolicyHeader( | 729 void OnDidSetFeaturePolicyHeader( |
731 const ParsedFeaturePolicyHeader& parsed_header); | 730 const ParsedFeaturePolicyHeader& parsed_header); |
732 | 731 |
733 // A CSP |header| has been added. | 732 // A new set of CSP |policies| has been added to the document. |
734 // RFC2616, section 4.2 specifies that headers appearing multiple times can be | 733 void OnDidAddContentSecurityPolicies( |
735 // combined with a comma. Hence zero, one or several |policies| are added to | |
736 // the document. | |
737 void OnDidAddContentSecurityPolicy( | |
738 const ContentSecurityPolicyHeader& header, | |
739 const std::vector<ContentSecurityPolicy>& policies); | 734 const std::vector<ContentSecurityPolicy>& policies); |
740 | 735 |
741 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 736 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
742 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); | 737 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); |
743 void OnDidChangeSandboxFlags(int32_t frame_routing_id, | 738 void OnDidChangeSandboxFlags(int32_t frame_routing_id, |
744 blink::WebSandboxFlags flags); | 739 blink::WebSandboxFlags flags); |
745 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, | 740 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id, |
746 const FrameOwnerProperties& properties); | 741 const FrameOwnerProperties& properties); |
747 void OnUpdateTitle(const base::string16& title, | 742 void OnUpdateTitle(const base::string16& title, |
748 blink::WebTextDirection title_direction); | 743 blink::WebTextDirection title_direction); |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 | 1166 |
1172 // NOTE: This must be the last member. | 1167 // NOTE: This must be the last member. |
1173 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1168 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1174 | 1169 |
1175 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1170 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1176 }; | 1171 }; |
1177 | 1172 |
1178 } // namespace content | 1173 } // namespace content |
1179 | 1174 |
1180 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |