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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 // When the guest redirects a navigation, the browser process informs the | 155 // When the guest redirects a navigation, the browser process informs the |
156 // embedder through the BrowserPluginMsg_LoadRedirect message. | 156 // embedder through the BrowserPluginMsg_LoadRedirect message. |
157 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect, | 157 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect, |
158 int /* instance_id */, | 158 int /* instance_id */, |
159 GURL /* old_url */, | 159 GURL /* old_url */, |
160 GURL /* new_url */, | 160 GURL /* new_url */, |
161 bool /* is_top_level */) | 161 bool /* is_top_level */) |
162 | 162 |
163 // When the guest navigates, the browser process informs the embedder through | 163 // When the guest navigates, the browser process informs the embedder through |
164 // the BrowserPluginMsg_DidNavigate message. | 164 // the BrowserPluginMsg_LoadStop message. |
165 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, | 165 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_LoadStop, |
| 166 int /* instance_id */) |
| 167 |
| 168 // When all the guest pages have completed, the browser process informs |
| 169 // the embedder through the BrowserPluginMsg_DidCommit message. |
| 170 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadCommit, |
166 int /* instance_id */, | 171 int /* instance_id */, |
167 GURL /* url */, | 172 GURL /* url */, |
168 int /* process_id */) | 173 int /* process_id */, |
| 174 bool /* is_top_level */) |
169 | 175 |
170 // When the guest crashes, the browser process informs the embedder through this | 176 // When the guest crashes, the browser process informs the embedder through this |
171 // message. | 177 // message. |
172 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, | 178 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, |
173 int /* instance_id */) | 179 int /* instance_id */) |
174 | 180 |
175 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) | 181 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) |
176 // The position and size of the bitmap. | 182 // The position and size of the bitmap. |
177 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) | 183 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) |
178 | 184 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 224 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
219 int /* instance_id */, | 225 int /* instance_id */, |
220 bool /* accept */) | 226 bool /* accept */) |
221 | 227 |
222 // The guest has damage it wants to convey to the embedder so that it can | 228 // The guest has damage it wants to convey to the embedder so that it can |
223 // update its backing store. | 229 // update its backing store. |
224 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 230 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
225 int /* instance_id */, | 231 int /* instance_id */, |
226 int /* message_id */, | 232 int /* message_id */, |
227 BrowserPluginMsg_UpdateRect_Params) | 233 BrowserPluginMsg_UpdateRect_Params) |
OLD | NEW |