Chromium Code Reviews| Index: chrome/browser/tab_contents/render_view_host_manager.h |
| =================================================================== |
| --- chrome/browser/tab_contents/render_view_host_manager.h (revision 13870) |
| +++ chrome/browser/tab_contents/render_view_host_manager.h (working copy) |
| @@ -186,9 +186,11 @@ |
| bool ShouldTransitionCrossSite(); |
| // Returns true if the two navigation entries are incompatible in some way |
| - // other than site instances. This will cause us to swap RenderViewHosts even |
| - // if the site instances are the same. Either of the entries may be NULL. |
| - bool ShouldSwapRenderViewsForNavigation( |
| + // other than site instances. This will cause us to swap RenderViewHosts |
| + // (and hence RenderProcessHosts) even if the site instance would otherwise |
| + // be the same. It also forces new SiteInstances for these transitions. |
|
Charlie Reis
2009/04/16 22:00:56
"new SiteInstances and BrowsingInstances for these
|
| + // Either of the entries may be NULL. |
| + bool ShouldSwapProcessesForNavigation( |
| const NavigationEntry* cur_entry, |
| const NavigationEntry* new_entry) const; |