| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 // If the guest fails to commit a page load then it will inform the | 140 // If the guest fails to commit a page load then it will inform the |
| 141 // embedder through the BrowserPluginMsg_LoadAbort. A description | 141 // embedder through the BrowserPluginMsg_LoadAbort. A description |
| 142 // of the error will be stored in |type|. The list of known error | 142 // of the error will be stored in |type|. The list of known error |
| 143 // types can be found in net/base/net_error_list.h. | 143 // types can be found in net/base/net_error_list.h. |
| 144 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadAbort, | 144 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadAbort, |
| 145 int /* instance_id */, | 145 int /* instance_id */, |
| 146 GURL /* url */, | 146 GURL /* url */, |
| 147 bool /* is_top_level */, | 147 bool /* is_top_level */, |
| 148 std::string /* type */) | 148 std::string /* type */) |
| 149 | 149 |
| 150 // When the guest redirects a navigation, the browser process informs the |
| 151 // embedder through the BrowserPluginMsg_LoadRedirect message. |
| 152 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect, |
| 153 int /* instance_id */, |
| 154 GURL /* old_url */, |
| 155 GURL /* new_url */, |
| 156 bool /* is_top_level */) |
| 157 |
| 150 // When the guest navigates, the browser process informs the embedder through | 158 // When the guest navigates, the browser process informs the embedder through |
| 151 // the BrowserPluginMsg_DidNavigate message. | 159 // the BrowserPluginMsg_DidNavigate message. |
| 152 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, | 160 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, |
| 153 int /* instance_id */, | 161 int /* instance_id */, |
| 154 GURL /* url */, | 162 GURL /* url */, |
| 155 int /* process_id */) | 163 int /* process_id */) |
| 156 | 164 |
| 157 // When the guest crashes, the browser process informs the embedder through this | 165 // When the guest crashes, the browser process informs the embedder through this |
| 158 // message. | 166 // message. |
| 159 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, | 167 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 213 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
| 206 int /* instance_id */, | 214 int /* instance_id */, |
| 207 bool /* accept */) | 215 bool /* accept */) |
| 208 | 216 |
| 209 // The guest has damage it wants to convey to the embedder so that it can | 217 // The guest has damage it wants to convey to the embedder so that it can |
| 210 // update its backing store. | 218 // update its backing store. |
| 211 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 219 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 212 int /* instance_id */, | 220 int /* instance_id */, |
| 213 int /* message_id */, | 221 int /* message_id */, |
| 214 BrowserPluginMsg_UpdateRect_Params) | 222 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |