| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 void CommitPending(); | 388 void CommitPending(); |
| 389 | 389 |
| 390 // Shutdown all RenderFrameHosts in a SiteInstance. This is called to shutdown | 390 // Shutdown all RenderFrameHosts in a SiteInstance. This is called to shutdown |
| 391 // frames when all the frames in a SiteInstance are confirmed to be swapped | 391 // frames when all the frames in a SiteInstance are confirmed to be swapped |
| 392 // out. | 392 // out. |
| 393 void ShutdownRenderFrameHostsInSiteInstance(int32 site_instance_id); | 393 void ShutdownRenderFrameHostsInSiteInstance(int32 site_instance_id); |
| 394 | 394 |
| 395 // Helper method to terminate the pending RenderViewHost. | 395 // Helper method to terminate the pending RenderViewHost. |
| 396 void CancelPending(); | 396 void CancelPending(); |
| 397 | 397 |
| 398 RenderFrameHostImpl* UpdateRendererStateForNavigate( | 398 RenderFrameHostImpl* UpdateStateForNavigate( |
| 399 const NavigationEntryImpl& entry); | 399 const NavigationEntryImpl& entry); |
| 400 | 400 |
| 401 // Called when a renderer process is starting to close. We should not | 401 // Called when a renderer process is starting to close. We should not |
| 402 // schedule new navigations in its swapped out RenderFrameHosts after this. | 402 // schedule new navigations in its swapped out RenderFrameHosts after this. |
| 403 void RendererProcessClosing(RenderProcessHost* render_process_host); | 403 void RendererProcessClosing(RenderProcessHost* render_process_host); |
| 404 | 404 |
| 405 // For use in creating RenderFrameHosts. | 405 // For use in creating RenderFrameHosts. |
| 406 FrameTreeNode* frame_tree_node_; | 406 FrameTreeNode* frame_tree_node_; |
| 407 | 407 |
| 408 // Our delegate, not owned by us. Guaranteed non-NULL. | 408 // Our delegate, not owned by us. Guaranteed non-NULL. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 CrossProcessFrameConnector* cross_process_frame_connector_; | 472 CrossProcessFrameConnector* cross_process_frame_connector_; |
| 473 | 473 |
| 474 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; | 474 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; |
| 475 | 475 |
| 476 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); | 476 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); |
| 477 }; | 477 }; |
| 478 | 478 |
| 479 } // namespace content | 479 } // namespace content |
| 480 | 480 |
| 481 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ | 481 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ |
| OLD | NEW |