| 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 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "content/public/common/common_param_traits.h" |
| 9 #include "content/public/common/referrer.h" | 10 #include "content/public/common/referrer.h" |
| 10 #include "ipc/ipc_message.h" | 11 #include "ipc/ipc_message.h" |
| 11 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 12 #include "ipc/ipc_param_traits.h" | 13 #include "ipc/ipc_param_traits.h" |
| 13 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
| 14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 15 #include "url/ipc/url_param_traits.h" | |
| 16 | 16 |
| 17 #define IPC_MESSAGE_START PrerenderMsgStart | 17 #define IPC_MESSAGE_START PrerenderMsgStart |
| 18 | 18 |
| 19 // PrerenderLinkManager Messages | 19 // PrerenderLinkManager Messages |
| 20 // These are messages sent from the renderer to the browser in | 20 // These are messages sent from the renderer to the browser in |
| 21 // relation to <link rel=prerender> elements. | 21 // relation to <link rel=prerender> elements. |
| 22 | 22 |
| 23 IPC_STRUCT_BEGIN(PrerenderAttributes) | 23 IPC_STRUCT_BEGIN(PrerenderAttributes) |
| 24 IPC_STRUCT_MEMBER(GURL, url) | 24 IPC_STRUCT_MEMBER(GURL, url) |
| 25 IPC_STRUCT_MEMBER(uint32_t, rel_types) | 25 IPC_STRUCT_MEMBER(uint32_t, rel_types) |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, | 68 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, |
| 69 GURL /* url */) | 69 GURL /* url */) |
| 70 | 70 |
| 71 // Signals to a launcher that a new alias has been added to a prerender. | 71 // Signals to a launcher that a new alias has been added to a prerender. |
| 72 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, | 72 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, |
| 73 std::vector<GURL> /* urls */) | 73 std::vector<GURL> /* urls */) |
| 74 | 74 |
| 75 // Signals to a launcher that a prerender is no longer running. | 75 // Signals to a launcher that a prerender is no longer running. |
| 76 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, | 76 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, |
| 77 int /* prerender_id */) | 77 int /* prerender_id */) |
| OLD | NEW |