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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/common/pref_names_util.cc ('k') | chrome/common/profiling.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
7 #include <stdint.h>
8
6 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
7 #include "content/public/common/referrer.h" 10 #include "content/public/common/referrer.h"
8 #include "ipc/ipc_message.h" 11 #include "ipc/ipc_message.h"
9 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_param_traits.h" 13 #include "ipc/ipc_param_traits.h"
11 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/geometry/size.h"
12 #include "url/gurl.h" 15 #include "url/gurl.h"
13 16
14 #define IPC_MESSAGE_START PrerenderMsgStart 17 #define IPC_MESSAGE_START PrerenderMsgStart
15 18
16 // PrerenderLinkManager Messages 19 // PrerenderLinkManager Messages
17 // These are messages sent from the renderer to the browser in 20 // These are messages sent from the renderer to the browser in
18 // relation to <link rel=prerender> elements. 21 // relation to <link rel=prerender> elements.
19 22
20 IPC_STRUCT_BEGIN(PrerenderAttributes) 23 IPC_STRUCT_BEGIN(PrerenderAttributes)
21 IPC_STRUCT_MEMBER(GURL, url) 24 IPC_STRUCT_MEMBER(GURL, url)
22 IPC_STRUCT_MEMBER(uint32, rel_types) 25 IPC_STRUCT_MEMBER(uint32_t, rel_types)
23 IPC_STRUCT_END() 26 IPC_STRUCT_END()
24 27
25 // Notifies of the insertion of a <link rel=prerender> element in the 28 // Notifies of the insertion of a <link rel=prerender> element in the
26 // document. 29 // document.
27 IPC_MESSAGE_CONTROL5(PrerenderHostMsg_AddLinkRelPrerender, 30 IPC_MESSAGE_CONTROL5(PrerenderHostMsg_AddLinkRelPrerender,
28 int /* prerender_id, assigned by WebPrerendererClient */, 31 int /* prerender_id, assigned by WebPrerendererClient */,
29 PrerenderAttributes, 32 PrerenderAttributes,
30 content::Referrer, 33 content::Referrer,
31 gfx::Size, 34 gfx::Size,
32 int /* render_view_route_id of launcher */) 35 int /* render_view_route_id of launcher */)
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias, 68 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderAddAlias,
66 GURL /* url */) 69 GURL /* url */)
67 70
68 // 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.
69 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases, 72 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderRemoveAliases,
70 std::vector<GURL> /* urls */) 73 std::vector<GURL> /* urls */)
71 74
72 // Signals to a launcher that a prerender is no longer running. 75 // Signals to a launcher that a prerender is no longer running.
73 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop, 76 IPC_MESSAGE_CONTROL1(PrerenderMsg_OnPrerenderStop,
74 int /* prerender_id */) 77 int /* prerender_id */)
OLDNEW
« no previous file with comments | « chrome/common/pref_names_util.cc ('k') | chrome/common/profiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698