| 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" | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|  38 // PrerenderDispatcher Messages |  38 // PrerenderDispatcher Messages | 
|  39 // These are messages sent from the browser to the renderer in relation to |  39 // These are messages sent from the browser to the renderer in relation to | 
|  40 // running prerenders. |  40 // running prerenders. | 
|  41  |  41  | 
|  42 // Tells a renderer if it's currently being prerendered.  Must only be set |  42 // Tells a renderer if it's currently being prerendered.  Must only be set | 
|  43 // to true before any navigation occurs, and only set to false at most once |  43 // to true before any navigation occurs, and only set to false at most once | 
|  44 // after that. |  44 // after that. | 
|  45 IPC_MESSAGE_ROUTED1(PrerenderMsg_SetIsPrerendering, |  45 IPC_MESSAGE_ROUTED1(PrerenderMsg_SetIsPrerendering, | 
|  46                     bool /* whether the RenderView is prerendering */) |  46                     bool /* whether the RenderView is prerendering */) | 
|  47  |  47  | 
|  48 // Specifies that a URL is currently being prerendered. |  48 // Signals a launcher that a prerender is running. | 
|  49 IPC_MESSAGE_CONTROL1(PrerenderMsg_AddPrerenderURL, |  49 IPC_MESSAGE_CONTROL1(PrerenderMsg_StartedPrerender, | 
 |  50                      int /* prerender_id */) | 
 |  51  | 
 |  52 // Adds an alias URL to a running prerender. | 
 |  53 IPC_MESSAGE_CONTROL2(PrerenderMsg_AddAliasToPrerender, | 
 |  54                      int /* prerender_id */, | 
|  50                      GURL /* url */) |  55                      GURL /* url */) | 
|  51  |  56  | 
|  52 // Specifies that a URL is no longer being prerendered. |  57 // Signals a launcher that a prerender is no longer running. | 
|  53 IPC_MESSAGE_CONTROL1(PrerenderMsg_RemovePrerenderURL, |  58 IPC_MESSAGE_CONTROL1(PrerenderMsg_StoppedPrerender, | 
|  54                      GURL /* url */) |  59                      int /* prerender_id */) | 
| OLD | NEW |