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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // the embedder through the BrowserPluginMsg_DidCommit message. | 200 // the embedder through the BrowserPluginMsg_DidCommit message. |
201 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_LoadCommit, | 201 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_LoadCommit, |
202 int /* instance_id */, | 202 int /* instance_id */, |
203 BrowserPluginMsg_LoadCommit_Params) | 203 BrowserPluginMsg_LoadCommit_Params) |
204 | 204 |
205 // When the guest page has completed loading (including subframes), the browser | 205 // When the guest page has completed loading (including subframes), the browser |
206 // process informs the embedder through the BrowserPluginMsg_LoadStop message. | 206 // process informs the embedder through the BrowserPluginMsg_LoadStop message. |
207 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_LoadStop, | 207 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_LoadStop, |
208 int /* instance_id */) | 208 int /* instance_id */) |
209 | 209 |
| 210 // When the guest changes its title, the browser process informs the |
| 211 // embedder through the BrowserPluginMsg_TitleChange message. |
| 212 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_TitleChange, |
| 213 int /* instance_id */, |
| 214 string16 /* title */) |
| 215 |
210 // When the guest crashes, the browser process informs the embedder through this | 216 // When the guest crashes, the browser process informs the embedder through this |
211 // message. | 217 // message. |
212 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_GuestGone, | 218 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_GuestGone, |
213 int /* instance_id */, | 219 int /* instance_id */, |
214 int /* process_id */, | 220 int /* process_id */, |
215 int /* This is really base::TerminationStatus */) | 221 int /* This is really base::TerminationStatus */) |
216 | 222 |
217 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) | 223 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) |
218 // The position and size of the bitmap. | 224 // The position and size of the bitmap. |
219 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) | 225 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 266 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
261 int /* instance_id */, | 267 int /* instance_id */, |
262 bool /* accept */) | 268 bool /* accept */) |
263 | 269 |
264 // The guest has damage it wants to convey to the embedder so that it can | 270 // The guest has damage it wants to convey to the embedder so that it can |
265 // update its backing store. | 271 // update its backing store. |
266 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 272 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
267 int /* instance_id */, | 273 int /* instance_id */, |
268 int /* message_id */, | 274 int /* message_id */, |
269 BrowserPluginMsg_UpdateRect_Params) | 275 BrowserPluginMsg_UpdateRect_Params) |
OLD | NEW |