| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 IPC_STRUCT_MEMBER(bool, is_resize_ack) | 119 IPC_STRUCT_MEMBER(bool, is_resize_ack) |
| 120 IPC_STRUCT_END() | 120 IPC_STRUCT_END() |
| 121 | 121 |
| 122 // Browser plugin messages | 122 // Browser plugin messages |
| 123 | 123 |
| 124 // ----------------------------------------------------------------------------- | 124 // ----------------------------------------------------------------------------- |
| 125 // These messages are from the embedder to the browser process. | 125 // These messages are from the embedder to the browser process. |
| 126 | 126 |
| 127 // This message is sent to the browser process to enable or disable autosize | 127 // This message is sent to the browser process to enable or disable autosize |
| 128 // mode. | 128 // mode. |
| 129 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetAutoSize, | 129 IPC_SYNC_MESSAGE_ROUTED3_0( |
| 130 int /* instance_id */, | 130 BrowserPluginHostMsg_SetAutoSize, |
| 131 BrowserPluginHostMsg_AutoSize_Params) | 131 int /* instance_id */, |
| 132 BrowserPluginHostMsg_AutoSize_Params /* auto_size_params */, |
| 133 BrowserPluginHostMsg_ResizeGuest_Params /* resize_guest_params */) |
| 132 | 134 |
| 133 | 135 |
| 134 // This message is sent to the browser process to create the browser plugin | 136 // This message is sent to the browser process to create the browser plugin |
| 135 // embedder and helper. It is sent once prior to sending the first | 137 // embedder and helper. It is sent once prior to sending the first |
| 136 // BrowserPluginHostMsg_NavigateGuest message. | 138 // BrowserPluginHostMsg_NavigateGuest message. |
| 137 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CreateGuest, | 139 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CreateGuest, |
| 138 int /* instance_id */, | 140 int /* instance_id */, |
| 139 BrowserPluginHostMsg_CreateGuest_Params /* params */) | 141 BrowserPluginHostMsg_CreateGuest_Params /* params */) |
| 140 | 142 |
| 141 // Tells the browser process to terminate the guest associated with the | 143 // Tells the browser process to terminate the guest associated with the |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 282 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
| 281 int /* instance_id */, | 283 int /* instance_id */, |
| 282 bool /* accept */) | 284 bool /* accept */) |
| 283 | 285 |
| 284 // The guest has damage it wants to convey to the embedder so that it can | 286 // The guest has damage it wants to convey to the embedder so that it can |
| 285 // update its backing store. | 287 // update its backing store. |
| 286 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 288 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 287 int /* instance_id */, | 289 int /* instance_id */, |
| 288 int /* message_id */, | 290 int /* message_id */, |
| 289 BrowserPluginMsg_UpdateRect_Params) | 291 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |