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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK, | 56 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK, |
57 int /* instance_id */, | 57 int /* instance_id */, |
58 int /* message_id */, | 58 int /* message_id */, |
59 gfx::Size /* repaint_view_size */) | 59 gfx::Size /* repaint_view_size */) |
60 | 60 |
61 // A BrowserPlugin sends this to the browser process when it wants to navigate | 61 // A BrowserPlugin sends this to the browser process when it wants to navigate |
62 // to a given src URL. If a guest WebContents already exists, it will navigate | 62 // to a given src URL. If a guest WebContents already exists, it will navigate |
63 // that WebContents. If not, it will create the WebContents, associate it with | 63 // that WebContents. If not, it will create the WebContents, associate it with |
64 // the BrowserPlugin's browser-side BrowserPluginHost as a guest, and navigate | 64 // the BrowserPlugin's browser-side BrowserPluginHost as a guest, and navigate |
65 // it to the requested URL. | 65 // it to the requested URL. |
66 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_NavigateGuest, | 66 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateGuest, |
67 int /* instance_id*/, | 67 int /* instance_id*/, |
68 int64 /* frame_id */, | |
69 std::string /* src */, | 68 std::string /* src */, |
70 gfx::Size /* size */) | 69 gfx::Size /* size */) |
71 | 70 |
72 // When a BrowserPlugin has been removed from the embedder's DOM, it informs | 71 // When a BrowserPlugin has been removed from the embedder's DOM, it informs |
73 // the browser process to cleanup the guest. | 72 // the browser process to cleanup the guest. |
74 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, | 73 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, |
75 int /* instance_id */) | 74 int /* instance_id */) |
76 | 75 |
77 // ----------------------------------------------------------------------------- | 76 // ----------------------------------------------------------------------------- |
78 // These messages are from the guest renderer to the browser process | 77 // These messages are from the guest renderer to the browser process |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 158 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
160 int /* instance_id */, | 159 int /* instance_id */, |
161 bool /* reverse */) | 160 bool /* reverse */) |
162 | 161 |
163 // 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 |
164 // update its backing store. | 163 // update its backing store. |
165 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 164 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
166 int /* instance_id */, | 165 int /* instance_id */, |
167 int /* message_id */, | 166 int /* message_id */, |
168 BrowserPluginMsg_UpdateRect_Params) | 167 BrowserPluginMsg_UpdateRect_Params) |
OLD | NEW |