From a0358d77904f3c4959f0411a53448e5944019689 Mon Sep 17 00:00:00 2001 From: "cbentzel@chromium.org" Date: Fri, 9 Mar 2012 14:06:50 +0000 Subject: 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 --- ipc/ipc_message_utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ipc/ipc_message_utils.h') diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index 3908b12..912bc04 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -100,6 +100,7 @@ enum IPCMessageStart { GamepadMsgStart, ShellMsgStart, AccessibilityMsgStart, + PrerenderMsgStart, LastIPCMsgStart // Must come last. }; -- cgit v1.1