| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 GURL /* new_url */, | 155 GURL /* new_url */, |
| 156 bool /* is_top_level */) | 156 bool /* is_top_level */) |
| 157 | 157 |
| 158 // When the guest navigates, the browser process informs the embedder through | 158 // When the guest navigates, the browser process informs the embedder through |
| 159 // the BrowserPluginMsg_DidNavigate message. | 159 // the BrowserPluginMsg_DidNavigate message. |
| 160 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, | 160 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, |
| 161 int /* instance_id */, | 161 int /* instance_id */, |
| 162 GURL /* url */, | 162 GURL /* url */, |
| 163 int /* process_id */) | 163 int /* process_id */) |
| 164 | 164 |
| 165 // When the guest changes its title, the browser process informs the |
| 166 // embedder through the BrowserPluginMsg_TitleChanged message. |
| 167 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_TitleChanged, |
| 168 int /* instance_id */, |
| 169 string16 /* title */) |
| 170 |
| 165 // When the guest crashes, the browser process informs the embedder through this | 171 // When the guest crashes, the browser process informs the embedder through this |
| 166 // message. | 172 // message. |
| 167 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, | 173 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, |
| 168 int /* instance_id */) | 174 int /* instance_id */) |
| 169 | 175 |
| 170 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) | 176 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) |
| 171 // The position and size of the bitmap. | 177 // The position and size of the bitmap. |
| 172 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) | 178 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) |
| 173 | 179 |
| 174 // The scroll offset. Only one of these can be non-zero, and if they are | 180 // The scroll offset. Only one of these can be non-zero, and if they are |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 219 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
| 214 int /* instance_id */, | 220 int /* instance_id */, |
| 215 bool /* accept */) | 221 bool /* accept */) |
| 216 | 222 |
| 217 // The guest has damage it wants to convey to the embedder so that it can | 223 // The guest has damage it wants to convey to the embedder so that it can |
| 218 // update its backing store. | 224 // update its backing store. |
| 219 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 225 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 220 int /* instance_id */, | 226 int /* instance_id */, |
| 221 int /* message_id */, | 227 int /* message_id */, |
| 222 BrowserPluginMsg_UpdateRect_Params) | 228 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |