Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Side by Side Diff: chrome/common/prerender_messages.h

Issue 9623018: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Multiply-included message file, no traditional include guard.
6 #include "googleurl/src/gurl.h"
7 #include "ipc/ipc_message.h"
8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_param_traits.h"
10
11 #define IPC_MESSAGE_START PrerenderMsgStart
12
13 // Tells a renderer if it's currently being prerendered. Must only be set
14 // to true before any navigation occurs, and only set to false at most once
15 // after that.
16 IPC_MESSAGE_ROUTED1(PrerenderMsg_SetIsPrerendering,
17 bool /* whether the RenderView is prerendering */)
18
19 // Specifies that a URL is currently being prerendered.
20 IPC_MESSAGE_CONTROL1(PrerenderMsg_AddPrerenderURL,
21 GURL /* url */)
22
23 // Specifies that a URL is no longer being prerendered.
24 IPC_MESSAGE_CONTROL1(PrerenderMsg_RemovePrerenderURL,
25 GURL /* url */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698