Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: chrome/common/prerender_messages.h

Issue 11571037: Pass load events from prerenders to launching elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: did you know prerenders can be canceled? Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Signals to launcher that a prerender is running. 48 // Signals to launcher that a prerender is running.
49 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStart, 49 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStart,
50 int /* prerender_id */) 50 int /* prerender_id */)
51 51
52 // Signals to launcher that a prerender is running.
53 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStopLoading,
54 int /* prerender_id */)
55
52 // Signals to a launcher that a new alias has been added to a prerender. 56 // Signals to a launcher that a new alias has been added to a prerender.
53 IPC_MESSAGE_CONTROL2(PrerenderMsg_OnPrerenderAddAlias, 57 IPC_MESSAGE_CONTROL2(PrerenderMsg_OnPrerenderAddAlias,
54 int /* prerender_id */, 58 int /* prerender_id */,
55 GURL /* url */) 59 GURL /* url */)
56 60
57 // Signals to a launcher that a prerender is no longer running. 61 // Signals to a launcher that a prerender is no longer running.
58 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, 62 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop,
59 int /* prerender_id */) 63 int /* prerender_id */)
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_link_manager.cc ('k') | chrome/renderer/prerender/prerender_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698