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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 class PepperPluginInstanceImpl; | 141 class PepperPluginInstanceImpl; |
142 class PresentationDispatcher; | 142 class PresentationDispatcher; |
143 class PushMessagingClient; | 143 class PushMessagingClient; |
144 class RelatedAppsFetcher; | 144 class RelatedAppsFetcher; |
145 class RenderAccessibilityImpl; | 145 class RenderAccessibilityImpl; |
146 class RendererPpapiHost; | 146 class RendererPpapiHost; |
147 class RenderFrameObserver; | 147 class RenderFrameObserver; |
148 class RenderViewImpl; | 148 class RenderViewImpl; |
149 class RenderWidget; | 149 class RenderWidget; |
150 class RenderWidgetFullscreenPepper; | 150 class RenderWidgetFullscreenPepper; |
151 class ResourceRequestBodyImpl; | 151 class ResourceRequestBody; |
152 class ScreenOrientationDispatcher; | 152 class ScreenOrientationDispatcher; |
153 class SharedWorkerRepository; | 153 class SharedWorkerRepository; |
154 class UserMediaClientImpl; | 154 class UserMediaClientImpl; |
155 struct CSPViolationParams; | 155 struct CSPViolationParams; |
156 struct CommonNavigationParams; | 156 struct CommonNavigationParams; |
157 struct CustomContextMenuContext; | 157 struct CustomContextMenuContext; |
158 struct FileChooserFileInfo; | 158 struct FileChooserFileInfo; |
159 struct FileChooserParams; | 159 struct FileChooserParams; |
160 struct FrameOwnerProperties; | 160 struct FrameOwnerProperties; |
161 struct FrameReplicationState; | 161 struct FrameReplicationState; |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 void OnWriteMHTMLToDiskComplete( | 963 void OnWriteMHTMLToDiskComplete( |
964 int job_id, | 964 int job_id, |
965 std::set<std::string> serialized_resources_uri_digests, | 965 std::set<std::string> serialized_resources_uri_digests, |
966 base::TimeDelta main_thread_use_time, | 966 base::TimeDelta main_thread_use_time, |
967 MhtmlSaveStatus save_status); | 967 MhtmlSaveStatus save_status); |
968 | 968 |
969 // Requests that the browser process navigates to |url|. If | 969 // Requests that the browser process navigates to |url|. If |
970 // |is_history_navigation_in_new_child| is true, the browser process should | 970 // |is_history_navigation_in_new_child| is true, the browser process should |
971 // look for a matching FrameNavigationEntry in the last committed entry to use | 971 // look for a matching FrameNavigationEntry in the last committed entry to use |
972 // instead of |url|. | 972 // instead of |url|. |
973 void OpenURL( | 973 void OpenURL(const GURL& url, |
974 const GURL& url, | 974 bool uses_post, |
975 bool uses_post, | 975 const scoped_refptr<ResourceRequestBody>& resource_request_body, |
976 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, | 976 const std::string& extra_headers, |
977 const std::string& extra_headers, | 977 const Referrer& referrer, |
978 const Referrer& referrer, | 978 blink::WebNavigationPolicy policy, |
979 blink::WebNavigationPolicy policy, | 979 bool should_replace_current_entry, |
980 bool should_replace_current_entry, | 980 bool is_history_navigation_in_new_child, |
981 bool is_history_navigation_in_new_child, | 981 blink::WebTriggeringEventInfo triggering_event_info); |
982 blink::WebTriggeringEventInfo triggering_event_info); | |
983 | 982 |
984 // Performs a navigation in the frame. This provides a unified function for | 983 // Performs a navigation in the frame. This provides a unified function for |
985 // the current code path and the browser-side navigation path (in | 984 // the current code path and the browser-side navigation path (in |
986 // development). Currently used by OnNavigate, with all *NavigationParams | 985 // development). Currently used by OnNavigate, with all *NavigationParams |
987 // provided by the browser. |stream_params| should be null. | 986 // provided by the browser. |stream_params| should be null. |
988 // PlzNavigate: used by OnCommitNavigation, with |common_params| and | 987 // PlzNavigate: used by OnCommitNavigation, with |common_params| and |
989 // |request_params| received by the browser. |stream_params| should be non | 988 // |request_params| received by the browser. |stream_params| should be non |
990 // null and created from the information provided by the browser. | 989 // null and created from the information provided by the browser. |
991 // |start_params| is not used. | 990 // |start_params| is not used. |
992 void NavigateInternal( | 991 void NavigateInternal( |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1419 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
1421 | 1420 |
1422 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1421 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1423 | 1422 |
1424 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1423 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1425 }; | 1424 }; |
1426 | 1425 |
1427 } // namespace content | 1426 } // namespace content |
1428 | 1427 |
1429 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1428 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |