OLD | NEW |
---|---|
(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, | |
Charlie Reis
2012/03/01 19:06:03
nit: SetAllowPrerendering, perhaps? Right now it
cbentzel
2012/03/05 15:38:58
This is sent to the actual prerendered RenderView
| |
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 */) | |
OLD | NEW |