| 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_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 const GlobalRequestID& global_request_id, | 242 const GlobalRequestID& global_request_id, |
| 243 RenderFrameHostImpl* pending_render_frame_host); | 243 RenderFrameHostImpl* pending_render_frame_host); |
| 244 | 244 |
| 245 // Resume navigation paused after receiving response headers. | 245 // Resume navigation paused after receiving response headers. |
| 246 void ResumeResponseDeferredAtStart(); | 246 void ResumeResponseDeferredAtStart(); |
| 247 | 247 |
| 248 // Called when a renderer's frame navigates. | 248 // Called when a renderer's frame navigates. |
| 249 void DidNavigateFrame(RenderFrameHostImpl* render_frame_host); | 249 void DidNavigateFrame(RenderFrameHostImpl* render_frame_host); |
| 250 | 250 |
| 251 // Called when a renderer sets its opener to null. | 251 // Called when a renderer sets its opener to null. |
| 252 void DidDisownOpener(RenderViewHost* render_view_host); | 252 void DidDisownOpener(RenderFrameHost* render_frame_host); |
| 253 | 253 |
| 254 // Helper method to create and initialize a RenderFrameHost. If |swapped_out| | 254 // Helper method to create and initialize a RenderFrameHost. If |swapped_out| |
| 255 // is true, it will be initially placed on the swapped out hosts list. | 255 // is true, it will be initially placed on the swapped out hosts list. |
| 256 // Returns the routing id of the *view* associated with the frame. | 256 // Returns the routing id of the *view* associated with the frame. |
| 257 int CreateRenderFrame(SiteInstance* instance, | 257 int CreateRenderFrame(SiteInstance* instance, |
| 258 int opener_route_id, | 258 int opener_route_id, |
| 259 bool swapped_out, | 259 bool swapped_out, |
| 260 bool for_main_frame_navigation, | 260 bool for_main_frame_navigation, |
| 261 bool hidden); | 261 bool hidden); |
| 262 | 262 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 scoped_ptr<NavigationRequest> navigation_request_; | 536 scoped_ptr<NavigationRequest> navigation_request_; |
| 537 | 537 |
| 538 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 538 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
| 539 | 539 |
| 540 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 540 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
| 541 }; | 541 }; |
| 542 | 542 |
| 543 } // namespace content | 543 } // namespace content |
| 544 | 544 |
| 545 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 545 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| OLD | NEW |