Prerendered pages are swapped in at browser::Navigate time. 

They used to get swapped in by observing provisional loads. This is being changed to Navigate so renderer-issued navigations into a prerender can be handled with the same mechanism that is used to handle renderer-issued navigations which need to cross process boundaries, such as clicking into a hosted app. 

For browser issued navigations, this means that we will immediately swap in the prerender, instead of sending a Navigate message to the render view and swapping in on the provisional load statement. 

For renderer issued navigations, decidePolicyForNavigation will ultimately cancel the navigation in the renderer and send an OpenURL up to the browser process. 

In order to make the renderer know that a navigation could be prerendered, a set of prerendered URLs need to be sent to a render process. 

BUG=104493
TEST=Existing browser tests, manual tests that omnibox prerenders work. There should be no user-visible changes.


Review URL: http://codereview.chromium.org/9623018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125836 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: a0358d77904f3c4959f0411a53448e5944019689
1 file changed
tree: b11637cb84cfec23707a8f0725b78fe177df7794
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/