| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // A embedder sends this message to the browser when it wants | 118 // A embedder sends this message to the browser when it wants |
| 119 // to resize a guest plugin container so that the guest is relaid out | 119 // to resize a guest plugin container so that the guest is relaid out |
| 120 // according to the new size. | 120 // according to the new size. |
| 121 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, | 121 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, |
| 122 int /* instance_id*/, | 122 int /* instance_id*/, |
| 123 BrowserPluginHostMsg_ResizeGuest_Params) | 123 BrowserPluginHostMsg_ResizeGuest_Params) |
| 124 | 124 |
| 125 // ----------------------------------------------------------------------------- | 125 // ----------------------------------------------------------------------------- |
| 126 // These messages are from the browser process to the embedder. | 126 // These messages are from the browser process to the embedder. |
| 127 | 127 |
| 128 // When the guest redirects a navigation, the browser process informs the |
| 129 // embedder through the BrowserPluginMsg_LoadRedirect message. |
| 130 IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect, |
| 131 int /* instance_id */, |
| 132 GURL /* old_url */, |
| 133 GURL /* new_url */, |
| 134 bool /* is_top_level */) |
| 135 |
| 128 // When the guest navigates, the browser process informs the embedder through | 136 // When the guest navigates, the browser process informs the embedder through |
| 129 // the BrowserPluginMsg_DidNavigate message. | 137 // the BrowserPluginMsg_DidNavigate message. |
| 130 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, | 138 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, |
| 131 int /* instance_id */, | 139 int /* instance_id */, |
| 132 GURL /* url */, | 140 GURL /* url */, |
| 133 int /* process_id */) | 141 int /* process_id */) |
| 134 | 142 |
| 135 // When the guest crashes, the browser process informs the embedder through this | 143 // When the guest crashes, the browser process informs the embedder through this |
| 136 // message. | 144 // message. |
| 137 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, | 145 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 191 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
| 184 int /* instance_id */, | 192 int /* instance_id */, |
| 185 bool /* accept */) | 193 bool /* accept */) |
| 186 | 194 |
| 187 // The guest has damage it wants to convey to the embedder so that it can | 195 // The guest has damage it wants to convey to the embedder so that it can |
| 188 // update its backing store. | 196 // update its backing store. |
| 189 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 197 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 190 int /* instance_id */, | 198 int /* instance_id */, |
| 191 int /* message_id */, | 199 int /* message_id */, |
| 192 BrowserPluginMsg_UpdateRect_Params) | 200 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |