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" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #undef IPC_MESSAGE_EXPORT | 21 #undef IPC_MESSAGE_EXPORT |
22 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 22 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
23 | 23 |
24 #define IPC_MESSAGE_START BrowserPluginMsgStart | 24 #define IPC_MESSAGE_START BrowserPluginMsgStart |
25 | 25 |
26 // Browser plugin messages | 26 // Browser plugin messages |
27 | 27 |
28 // ----------------------------------------------------------------------------- | 28 // ----------------------------------------------------------------------------- |
29 // These messages are from the embedder to the browser process. | 29 // These messages are from the embedder to the browser process. |
30 | 30 |
| 31 // Tells the guest to navigate to an entry |relative_index| away from the |
| 32 // current navigation entry. |
| 33 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_Go, |
| 34 int /* instance_id */, |
| 35 int /* relative_index */) |
| 36 |
31 // Tells the guest to focus or defocus itself. | 37 // Tells the guest to focus or defocus itself. |
32 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, | 38 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, |
33 int /* instance_id */, | 39 int /* instance_id */, |
34 bool /* enable */) | 40 bool /* enable */) |
35 | 41 |
36 // Tell the guest to stop loading. | 42 // Tell the guest to stop loading. |
37 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_Stop, | 43 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_Stop, |
38 int /* instance_id */) | 44 int /* instance_id */) |
39 | 45 |
40 /// Tell the guest to reload. | 46 /// Tell the guest to reload. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 170 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
165 int /* instance_id */, | 171 int /* instance_id */, |
166 bool /* accept */) | 172 bool /* accept */) |
167 | 173 |
168 // The guest has damage it wants to convey to the embedder so that it can | 174 // The guest has damage it wants to convey to the embedder so that it can |
169 // update its backing store. | 175 // update its backing store. |
170 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 176 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
171 int /* instance_id */, | 177 int /* instance_id */, |
172 int /* message_id */, | 178 int /* message_id */, |
173 BrowserPluginMsg_UpdateRect_Params) | 179 BrowserPluginMsg_UpdateRect_Params) |
OLD | NEW |