| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK, | 47 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK, |
| 48 int /* instance_id */, | 48 int /* instance_id */, |
| 49 int /* message_id */, | 49 int /* message_id */, |
| 50 gfx::Size /* repaint_view_size */) | 50 gfx::Size /* repaint_view_size */) |
| 51 | 51 |
| 52 // A BrowserPlugin sends this to the browser process when it wants to navigate | 52 // A BrowserPlugin sends this to the browser process when it wants to navigate |
| 53 // to a given src URL. If a guest WebContents already exists, it will navigate | 53 // to a given src URL. If a guest WebContents already exists, it will navigate |
| 54 // that WebContents. If not, it will create the WebContents, associate it with | 54 // that WebContents. If not, it will create the WebContents, associate it with |
| 55 // the BrowserPlugin's browser-side BrowserPluginHost as a guest, and navigate | 55 // the BrowserPlugin's browser-side BrowserPluginHost as a guest, and navigate |
| 56 // it to the requested URL. | 56 // it to the requested URL. |
| 57 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateOrCreateGuest, | 57 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_NavigateGuest, |
| 58 int /* instance_id*/, | 58 int /* instance_id*/, |
| 59 long long /* frame_id */, | 59 int64 /* frame_id */, |
| 60 std::string /* src */) | 60 std::string /* src */, |
| 61 gfx::Size /* size */) |
| 61 | 62 |
| 62 // When a BrowserPlugin has been removed from the embedder's DOM, it informs | 63 // When a BrowserPlugin has been removed from the embedder's DOM, it informs |
| 63 // the browser process to cleanup the guest. | 64 // the browser process to cleanup the guest. |
| 64 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, | 65 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, |
| 65 int /* instance_id */) | 66 int /* instance_id */) |
| 66 | 67 |
| 67 // ----------------------------------------------------------------------------- | 68 // ----------------------------------------------------------------------------- |
| 68 // These messages are from the guest renderer to the browser process | 69 // These messages are from the guest renderer to the browser process |
| 69 | 70 |
| 70 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) | 71 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 144 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
| 144 int /* instance_id */, | 145 int /* instance_id */, |
| 145 bool /* reverse */) | 146 bool /* reverse */) |
| 146 | 147 |
| 147 // The guest has damage it wants to convey to the embedder so that it can | 148 // The guest has damage it wants to convey to the embedder so that it can |
| 148 // update its backing store. | 149 // update its backing store. |
| 149 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 150 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
| 150 int /* instance_id */, | 151 int /* instance_id */, |
| 151 int /* message_id */, | 152 int /* message_id */, |
| 152 BrowserPluginMsg_UpdateRect_Params) | 153 BrowserPluginMsg_UpdateRect_Params) |
| OLD | NEW |