| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // according to the new size. | 93 // according to the new size. |
| 94 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, | 94 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, |
| 95 int /* instance_id*/, | 95 int /* instance_id*/, |
| 96 BrowserPluginHostMsg_ResizeGuest_Params) | 96 BrowserPluginHostMsg_ResizeGuest_Params) |
| 97 | 97 |
| 98 // ----------------------------------------------------------------------------- | 98 // ----------------------------------------------------------------------------- |
| 99 // These messages are from the browser process to the embedder. | 99 // These messages are from the browser process to the embedder. |
| 100 | 100 |
| 101 // When the guest navigates, the browser process informs the embedder through | 101 // When the guest navigates, the browser process informs the embedder through |
| 102 // the BrowserPluginMsg_DidNavigate message. | 102 // the BrowserPluginMsg_DidNavigate message. |
| 103 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_DidNavigate, | 103 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, |
| 104 int /* instance_id */, | 104 int /* instance_id */, |
| 105 GURL /* url */) | 105 GURL /* url */, |
| 106 int /* process_id */) |
| 106 | 107 |
| 107 // When the guest crashes, the browser process informs the embedder through this | 108 // When the guest crashes, the browser process informs the embedder through this |
| 108 // message. | 109 // message. |
| 109 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, | 110 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed, |
| 110 int /* instance_id */) | 111 int /* instance_id */) |
| 111 | 112 |
| 112 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) | 113 IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params) |
| 113 // The position and size of the bitmap. | 114 // The position and size of the bitmap. |
| 114 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) | 115 IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) |
| 115 | 116 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 150 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
| 150 int /* instance_id */, | 151 int /* instance_id */, |
| 151 bool /* reverse */) | 152 bool /* reverse */) |
| 152 | 153 |
| 153 // The guest has damage it wants to convey to the embedder so that it can | 154 // The guest has damage it wants to convey to the embedder so that it can |
| 154 // update its backing store. | 155 // update its backing store. |
| 155 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 156 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 156 int /* instance_id */, | 157 int /* instance_id */, |
| 157 int /* message_id */, | 158 int /* message_id */, |
| 158 BrowserPluginMsg_UpdateRect_Params) | 159 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |