OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 ModalDialogEvent, /* model dialog box event */ | 46 ModalDialogEvent, /* model dialog box event */ |
47 WebPreferences, | 47 WebPreferences, |
48 int32 /* view id */) | 48 int32 /* view id */) |
49 | 49 |
50 // Tells the renderer to set its maximum cache size to the supplied value | 50 // Tells the renderer to set its maximum cache size to the supplied value |
51 IPC_MESSAGE_CONTROL3(ViewMsg_SetCacheCapacities, | 51 IPC_MESSAGE_CONTROL3(ViewMsg_SetCacheCapacities, |
52 size_t /* min_dead_capacity */, | 52 size_t /* min_dead_capacity */, |
53 size_t /* max_dead_capacity */, | 53 size_t /* max_dead_capacity */, |
54 size_t /* capacity */) | 54 size_t /* capacity */) |
55 | 55 |
56 // Allows a chrome plugin loaded in the browser process to send arbitrary | |
57 // data to an instance of the same plugin loaded in a renderer process. | |
58 IPC_MESSAGE_CONTROL2(ViewMsg_PluginMessage, | |
59 FilePath /* plugin_path of plugin */, | |
60 std::vector<uint8> /* opaque data */) | |
61 | |
62 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 56 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
63 // similar to the new command, but used when the renderer created a view | 57 // similar to the new command, but used when the renderer created a view |
64 // first, and we need to update it | 58 // first, and we need to update it |
65 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, | 59 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, |
66 gfx::NativeViewId /* parent_hwnd */) | 60 gfx::NativeViewId /* parent_hwnd */) |
67 | 61 |
68 // Tells the render view to close. | 62 // Tells the render view to close. |
69 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 63 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
70 | 64 |
71 // Tells the render view to change its size. A ViewHostMsg_PaintRect message | 65 // Tells the render view to change its size. A ViewHostMsg_PaintRect message |
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateDedicatedWorker, | 1202 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateDedicatedWorker, |
1209 GURL /* url */, | 1203 GURL /* url */, |
1210 int /* route_id */) | 1204 int /* route_id */) |
1211 | 1205 |
1212 // Wraps an IPC message that's destined to the worker on the renderer->browser | 1206 // Wraps an IPC message that's destined to the worker on the renderer->browser |
1213 // hop. | 1207 // hop. |
1214 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, | 1208 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, |
1215 IPC::Message /* message */) | 1209 IPC::Message /* message */) |
1216 | 1210 |
1217 IPC_END_MESSAGES(ViewHost) | 1211 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |