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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 class RenderProcessHost; | 83 class RenderProcessHost; |
84 class RenderViewHostImpl; | 84 class RenderViewHostImpl; |
85 class RenderWidgetHostDelegate; | 85 class RenderWidgetHostDelegate; |
86 class RenderWidgetHostImpl; | 86 class RenderWidgetHostImpl; |
87 class RenderWidgetHostView; | 87 class RenderWidgetHostView; |
88 class RenderWidgetHostViewBase; | 88 class RenderWidgetHostViewBase; |
89 class ResourceRequestBody; | 89 class ResourceRequestBody; |
90 class StreamHandle; | 90 class StreamHandle; |
91 class TimeoutMonitor; | 91 class TimeoutMonitor; |
92 class WebBluetoothServiceImpl; | 92 class WebBluetoothServiceImpl; |
| 93 struct ContentSecurityPolicyHeader; |
93 struct ContextMenuParams; | 94 struct ContextMenuParams; |
94 struct GlobalRequestID; | 95 struct GlobalRequestID; |
95 struct Referrer; | 96 struct Referrer; |
96 struct ResourceResponse; | 97 struct ResourceResponse; |
97 | 98 |
98 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, | 99 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
99 public BrowserAccessibilityDelegate, | 100 public BrowserAccessibilityDelegate, |
100 public SiteInstanceImpl::Observer { | 101 public SiteInstanceImpl::Observer { |
101 public: | 102 public: |
102 using AXTreeSnapshotCallback = | 103 using AXTreeSnapshotCallback = |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 IPC::Message* reply_msg); | 623 IPC::Message* reply_msg); |
623 void OnRunBeforeUnloadConfirm(const GURL& frame_url, | 624 void OnRunBeforeUnloadConfirm(const GURL& frame_url, |
624 bool is_reload, | 625 bool is_reload, |
625 IPC::Message* reply_msg); | 626 IPC::Message* reply_msg); |
626 void OnTextSurroundingSelectionResponse(const base::string16& content, | 627 void OnTextSurroundingSelectionResponse(const base::string16& content, |
627 uint32_t start_offset, | 628 uint32_t start_offset, |
628 uint32_t end_offset); | 629 uint32_t end_offset); |
629 void OnDidAccessInitialDocument(); | 630 void OnDidAccessInitialDocument(); |
630 void OnDidChangeOpener(int32_t opener_routing_id); | 631 void OnDidChangeOpener(int32_t opener_routing_id); |
631 void OnDidChangeName(const std::string& name, const std::string& unique_name); | 632 void OnDidChangeName(const std::string& name, const std::string& unique_name); |
| 633 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
632 void OnEnforceStrictMixedContentChecking(); | 634 void OnEnforceStrictMixedContentChecking(); |
633 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); | 635 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); |
634 void OnDidAssignPageId(int32_t page_id); | 636 void OnDidAssignPageId(int32_t page_id); |
635 void OnDidChangeSandboxFlags(int32_t frame_routing_id, | 637 void OnDidChangeSandboxFlags(int32_t frame_routing_id, |
636 blink::WebSandboxFlags flags); | 638 blink::WebSandboxFlags flags); |
637 void OnDidChangeFrameOwnerProperties( | 639 void OnDidChangeFrameOwnerProperties( |
638 int32_t frame_routing_id, | 640 int32_t frame_routing_id, |
639 const blink::WebFrameOwnerProperties& frame_owner_properties); | 641 const blink::WebFrameOwnerProperties& frame_owner_properties); |
640 void OnUpdateTitle(const base::string16& title, | 642 void OnUpdateTitle(const base::string16& title, |
641 blink::WebTextDirection title_direction); | 643 blink::WebTextDirection title_direction); |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 | 971 |
970 // NOTE: This must be the last member. | 972 // NOTE: This must be the last member. |
971 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 973 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
972 | 974 |
973 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 975 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
974 }; | 976 }; |
975 | 977 |
976 } // namespace content | 978 } // namespace content |
977 | 979 |
978 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 980 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |