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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 class RenderWidgetHostDelegate; | 86 class RenderWidgetHostDelegate; |
87 class RenderWidgetHostImpl; | 87 class RenderWidgetHostImpl; |
88 class RenderWidgetHostView; | 88 class RenderWidgetHostView; |
89 class RenderWidgetHostViewBase; | 89 class RenderWidgetHostViewBase; |
90 class ResourceRequestBody; | 90 class ResourceRequestBody; |
91 class StreamHandle; | 91 class StreamHandle; |
92 class TimeoutMonitor; | 92 class TimeoutMonitor; |
93 class WebBluetoothServiceImpl; | 93 class WebBluetoothServiceImpl; |
94 struct ContentSecurityPolicyHeader; | 94 struct ContentSecurityPolicyHeader; |
95 struct ContextMenuParams; | 95 struct ContextMenuParams; |
| 96 struct FileChooserParams; |
96 struct GlobalRequestID; | 97 struct GlobalRequestID; |
97 struct FileChooserParams; | 98 struct FileChooserParams; |
98 struct Referrer; | 99 struct Referrer; |
99 struct ResourceResponse; | 100 struct ResourceResponse; |
100 | 101 |
101 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, | 102 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
102 public BrowserAccessibilityDelegate, | 103 public BrowserAccessibilityDelegate, |
103 public SiteInstanceImpl::Observer { | 104 public SiteInstanceImpl::Observer { |
104 public: | 105 public: |
105 using AXTreeSnapshotCallback = | 106 using AXTreeSnapshotCallback = |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); | 650 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); |
650 void OnVisualStateResponse(uint64_t id); | 651 void OnVisualStateResponse(uint64_t id); |
651 void OnRunJavaScriptMessage(const base::string16& message, | 652 void OnRunJavaScriptMessage(const base::string16& message, |
652 const base::string16& default_prompt, | 653 const base::string16& default_prompt, |
653 const GURL& frame_url, | 654 const GURL& frame_url, |
654 JavaScriptMessageType type, | 655 JavaScriptMessageType type, |
655 IPC::Message* reply_msg); | 656 IPC::Message* reply_msg); |
656 void OnRunBeforeUnloadConfirm(const GURL& frame_url, | 657 void OnRunBeforeUnloadConfirm(const GURL& frame_url, |
657 bool is_reload, | 658 bool is_reload, |
658 IPC::Message* reply_msg); | 659 IPC::Message* reply_msg); |
| 660 void OnRunFileChooser(const FileChooserParams& params); |
659 void OnTextSurroundingSelectionResponse(const base::string16& content, | 661 void OnTextSurroundingSelectionResponse(const base::string16& content, |
660 uint32_t start_offset, | 662 uint32_t start_offset, |
661 uint32_t end_offset); | 663 uint32_t end_offset); |
662 void OnDidAccessInitialDocument(); | 664 void OnDidAccessInitialDocument(); |
663 void OnDidChangeOpener(int32_t opener_routing_id); | 665 void OnDidChangeOpener(int32_t opener_routing_id); |
664 void OnDidChangeName(const std::string& name, const std::string& unique_name); | 666 void OnDidChangeName(const std::string& name, const std::string& unique_name); |
665 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); | 667 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); |
666 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); | 668 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); |
667 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); | 669 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); |
668 void OnDidAssignPageId(int32_t page_id); | 670 void OnDidAssignPageId(int32_t page_id); |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 | 1004 |
1003 // NOTE: This must be the last member. | 1005 // NOTE: This must be the last member. |
1004 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1006 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1005 | 1007 |
1006 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1008 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1007 }; | 1009 }; |
1008 | 1010 |
1009 } // namespace content | 1011 } // namespace content |
1010 | 1012 |
1011 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1013 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |