| 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 "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "ipc/ipc_param_traits.h" | 11 #include "ipc/ipc_param_traits.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" | 12 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
| 13 #include "ui/gfx/size.h" | 13 #include "ui/gfx/size.h" |
| 14 | 14 |
| 15 #define IPC_MESSAGE_START PrerenderMsgStart | 15 #define IPC_MESSAGE_START PrerenderMsgStart |
| 16 | 16 |
| 17 // PrerenderLinkManager Messages | 17 // PrerenderLinkManager Messages |
| 18 // These are messages sent from the renderer to the browser in | 18 // These are messages sent from the renderer to the browser in |
| 19 // relation to <link rel=prerender> elements. | 19 // relation to <link rel=prerender> elements. |
| 20 | 20 |
| 21 // Notifies of the insertion of a <link rel=prerender> element in the | 21 // Notifies of the insertion of a <link rel=prerender> element in the |
| 22 // document. | 22 // document. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, | 57 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, |
| 58 GURL /* url */) | 58 GURL /* url */) |
| 59 | 59 |
| 60 // Signals to a launcher that a new alias has been added to a prerender. | 60 // Signals to a launcher that a new alias has been added to a prerender. |
| 61 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, | 61 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, |
| 62 std::vector<GURL> /* urls */) | 62 std::vector<GURL> /* urls */) |
| 63 | 63 |
| 64 // Signals to a launcher that a prerender is no longer running. | 64 // Signals to a launcher that a prerender is no longer running. |
| 65 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, | 65 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, |
| 66 int /* prerender_id */) | 66 int /* prerender_id */) |
| OLD | NEW |