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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
43 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" | 43 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
44 #include "third_party/WebKit/public/web/WebTextDirection.h" | 44 #include "third_party/WebKit/public/web/WebTextDirection.h" |
45 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 45 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
46 #include "ui/accessibility/ax_node_data.h" | 46 #include "ui/accessibility/ax_node_data.h" |
47 #include "ui/base/page_transition_types.h" | 47 #include "ui/base/page_transition_types.h" |
48 | 48 |
49 class GURL; | 49 class GURL; |
50 struct AccessibilityHostMsg_EventParams; | 50 struct AccessibilityHostMsg_EventParams; |
51 struct AccessibilityHostMsg_FindInPageResultParams; | 51 struct AccessibilityHostMsg_FindInPageResultParams; |
52 struct AccessibilityHostMsg_LocationChangeParams; | 52 struct AccessibilityHostMsg_LocationChangeParams; |
53 struct FrameHostMsg_DidCommitProvisionalLoad_Params; | |
53 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; | 54 struct FrameHostMsg_DidFailProvisionalLoadWithError_Params; |
54 struct FrameHostMsg_OpenURL_Params; | 55 struct FrameHostMsg_OpenURL_Params; |
55 struct FrameMsg_TextTrackSettings_Params; | 56 struct FrameMsg_TextTrackSettings_Params; |
56 #if defined(USE_EXTERNAL_POPUP_MENU) | 57 #if defined(USE_EXTERNAL_POPUP_MENU) |
57 struct FrameHostMsg_ShowPopup_Params; | 58 struct FrameHostMsg_ShowPopup_Params; |
58 #endif | 59 #endif |
59 | 60 |
60 namespace base { | 61 namespace base { |
61 class ListValue; | 62 class ListValue; |
62 } | 63 } |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
801 // Deletes the Web Bluetooth Service owned by the frame. | 802 // Deletes the Web Bluetooth Service owned by the frame. |
802 void DeleteWebBluetoothService(); | 803 void DeleteWebBluetoothService(); |
803 | 804 |
804 // Allows tests to disable the swapout event timer to simulate bugs that | 805 // Allows tests to disable the swapout event timer to simulate bugs that |
805 // happen before it fires (to avoid flakiness). | 806 // happen before it fires (to avoid flakiness). |
806 void DisableSwapOutTimerForTesting(); | 807 void DisableSwapOutTimerForTesting(); |
807 | 808 |
808 void OnRendererConnect(const service_manager::ServiceInfo& local_info, | 809 void OnRendererConnect(const service_manager::ServiceInfo& local_info, |
809 const service_manager::ServiceInfo& remote_info); | 810 const service_manager::ServiceInfo& remote_info); |
810 | 811 |
812 // Returns ownership the NavigationHandle associated with a navigation that | |
Charlie Reis
2016/11/04 17:30:53
nit: ownership of
clamy
2016/11/07 14:10:51
Done.
| |
813 // just committed. | |
814 std::unique_ptr<NavigationHandleImpl> TakeNavigationHandleForCommit( | |
815 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); | |
816 | |
811 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a | 817 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a |
812 // refcount that calls Shutdown when it reaches zero. This allows each | 818 // refcount that calls Shutdown when it reaches zero. This allows each |
813 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring | 819 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring |
814 // we have a RenderViewHost for each RenderFrameHost. | 820 // we have a RenderViewHost for each RenderFrameHost. |
815 // TODO(creis): RenderViewHost will eventually go away and be replaced with | 821 // TODO(creis): RenderViewHost will eventually go away and be replaced with |
816 // some form of page context. | 822 // some form of page context. |
817 RenderViewHostImpl* render_view_host_; | 823 RenderViewHostImpl* render_view_host_; |
818 | 824 |
819 RenderFrameHostDelegate* delegate_; | 825 RenderFrameHostDelegate* delegate_; |
820 | 826 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1048 remote_associated_interfaces_; | 1054 remote_associated_interfaces_; |
1049 // NOTE: This must be the last member. | 1055 // NOTE: This must be the last member. |
1050 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1056 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1051 | 1057 |
1052 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1058 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1053 }; | 1059 }; |
1054 | 1060 |
1055 } // namespace content | 1061 } // namespace content |
1056 | 1062 |
1057 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1063 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |