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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/process.h" | 10 #include "base/process.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/public/common/common_param_traits.h" | 12 #include "content/public/common/common_param_traits.h" |
13 #include "ipc/ipc_channel_handle.h" | 13 #include "ipc/ipc_channel_handle.h" |
14 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
15 #include "ipc/ipc_message_utils.h" | 15 #include "ipc/ipc_message_utils.h" |
16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
18 #include "webkit/glue/webcursor.h" | 18 #include "webkit/glue/webcursor.h" |
19 | 19 |
20 #undef IPC_MESSAGE_EXPORT | 20 #undef IPC_MESSAGE_EXPORT |
21 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 21 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
22 | 22 |
23 #define IPC_MESSAGE_START BrowserPluginMsgStart | 23 #define IPC_MESSAGE_START BrowserPluginMsgStart |
24 | 24 |
25 // Browser plugin messages | 25 // Browser plugin messages |
26 | 26 |
27 // ----------------------------------------------------------------------------- | 27 // ----------------------------------------------------------------------------- |
28 // These messages are from the embedder to the browser process. | 28 // These messages are from the embedder to the browser process. |
29 | 29 |
| 30 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_CreateGuest, |
| 31 int /* instance_id */, |
| 32 int64 /* frame_id */, |
| 33 std::string /* storage_partition_id */, |
| 34 bool /* persist_storage */) |
| 35 |
30 // Tells the guest to focus or defocus itself. | 36 // Tells the guest to focus or defocus itself. |
31 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, | 37 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, |
32 int /* instance_id */, | 38 int /* instance_id */, |
33 bool /* enable */) | 39 bool /* enable */) |
34 | 40 |
35 // Tell the guest to stop loading. | 41 // Tell the guest to stop loading. |
36 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_Stop, | 42 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_Stop, |
37 int /* instance_id */) | 43 int /* instance_id */) |
38 | 44 |
39 /// Tell the guest to reload. | 45 /// Tell the guest to reload. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 164 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
159 int /* instance_id */, | 165 int /* instance_id */, |
160 bool /* reverse */) | 166 bool /* reverse */) |
161 | 167 |
162 // The guest has damage it wants to convey to the embedder so that it can | 168 // The guest has damage it wants to convey to the embedder so that it can |
163 // update its backing store. | 169 // update its backing store. |
164 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 170 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
165 int /* instance_id */, | 171 int /* instance_id */, |
166 int /* message_id */, | 172 int /* message_id */, |
167 BrowserPluginMsg_UpdateRect_Params) | 173 BrowserPluginMsg_UpdateRect_Params) |
OLD | NEW |