OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message file, no traditional include guard. | 5 // Multiply-included message file, no traditional include guard. |
6 #include "content/public/common/common_param_traits.h" | 6 #include "content/public/common/common_param_traits.h" |
7 #include "content/public/common/referrer.h" | 7 #include "content/public/common/referrer.h" |
8 #include "ipc/ipc_message.h" | 8 #include "ipc/ipc_message.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "ipc/ipc_param_traits.h" | 10 #include "ipc/ipc_param_traits.h" |
11 #include "ui/gfx/size.h" | 11 #include "ui/gfx/geometry/size.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 #define IPC_MESSAGE_START PrerenderMsgStart | 14 #define IPC_MESSAGE_START PrerenderMsgStart |
15 | 15 |
16 // PrerenderLinkManager Messages | 16 // PrerenderLinkManager Messages |
17 // These are messages sent from the renderer to the browser in | 17 // These are messages sent from the renderer to the browser in |
18 // relation to <link rel=prerender> elements. | 18 // relation to <link rel=prerender> elements. |
19 | 19 |
20 IPC_STRUCT_BEGIN(PrerenderAttributes) | 20 IPC_STRUCT_BEGIN(PrerenderAttributes) |
21 IPC_STRUCT_MEMBER(GURL, url) | 21 IPC_STRUCT_MEMBER(GURL, url) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, | 65 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, |
66 GURL /* url */) | 66 GURL /* url */) |
67 | 67 |
68 // Signals to a launcher that a new alias has been added to a prerender. | 68 // Signals to a launcher that a new alias has been added to a prerender. |
69 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, | 69 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, |
70 std::vector<GURL> /* urls */) | 70 std::vector<GURL> /* urls */) |
71 | 71 |
72 // Signals to a launcher that a prerender is no longer running. | 72 // Signals to a launcher that a prerender is no longer running. |
73 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, | 73 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, |
74 int /* prerender_id */) | 74 int /* prerender_id */) |
OLD | NEW |