| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // according to the new size. | 101 // according to the new size. |
| 102 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, | 102 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, |
| 103 int /* instance_id*/, | 103 int /* instance_id*/, |
| 104 BrowserPluginHostMsg_ResizeGuest_Params) | 104 BrowserPluginHostMsg_ResizeGuest_Params) |
| 105 | 105 |
| 106 // ----------------------------------------------------------------------------- | 106 // ----------------------------------------------------------------------------- |
| 107 // These messages are from the browser process to the embedder. | 107 // These messages are from the browser process to the embedder. |
| 108 | 108 |
| 109 // When the guest navigates, the browser process informs the embedder through | 109 // When the guest navigates, the browser process informs the embedder through |
| 110 // the BrowserPluginMsg_DidNavigate message. | 110 // the BrowserPluginMsg_DidNavigate message. |
| 111 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_DidNavigate, | 111 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, |
| 112 int /* instance_id */, | 112 int /* instance_id */, |
| 113 GURL /* url */) | 113 GURL /* url */, |
| 114 int /* process_id */) |
| 114 | 115 |
| 115 // When the guest crashes, the browser process informs the embedder through this | 116 // When the guest crashes, the browser process informs the embedder through this |
| 116 // message. | 117 // message. |
| 117 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, | 118 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, |
| 118 int /* instance_id */) | 119 int /* instance_id */) |
| 119 | 120 |
| 120 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) | 121 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) |
| 121 // The position and size of the bitmap. | 122 // The position and size of the bitmap. |
| 122 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) | 123 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) |
| 123 | 124 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 158 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
| 158 int /* instance_id */, | 159 int /* instance_id */, |
| 159 bool /* reverse */) | 160 bool /* reverse */) |
| 160 | 161 |
| 161 // The guest has damage it wants to convey to the embedder so that it can | 162 // The guest has damage it wants to convey to the embedder so that it can |
| 162 // update its backing store. | 163 // update its backing store. |
| 163 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 164 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 164 int /* instance_id */, | 165 int /* instance_id */, |
| 165 int /* message_id */, | 166 int /* message_id */, |
| 166 BrowserPluginMsg_UpdateRect_Params) | 167 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |