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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
110 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateGuest, | 110 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateGuest, |
111 int /* instance_id*/, | 111 int /* instance_id*/, |
112 std::string /* src */, | 112 std::string /* src */, |
113 BrowserPluginHostMsg_ResizeGuest_Params /* resize_params */) | 113 BrowserPluginHostMsg_ResizeGuest_Params /* resize_params */) |
114 | 114 |
115 // When a BrowserPlugin has been removed from the embedder's DOM, it informs | 115 // When a BrowserPlugin has been removed from the embedder's DOM, it informs |
116 // the browser process to cleanup the guest. | 116 // the browser process to cleanup the guest. |
117 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, | 117 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, |
118 int /* instance_id */) | 118 int /* instance_id */) |
119 | 119 |
120 // Tells the guest to show or hide itself | |
Charlie Reis
2012/10/05 00:33:18
nit: End with a period.
This comment is also a bi
Fady Samuel
2012/10/05 15:22:07
Done.
| |
121 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility, | |
122 int /* instance_id */, | |
123 bool /* visible */) | |
124 | |
120 // ----------------------------------------------------------------------------- | 125 // ----------------------------------------------------------------------------- |
121 // These messages are from the guest renderer to the browser process | 126 // These messages are from the guest renderer to the browser process |
122 | 127 |
123 // A embedder sends this message to the browser when it wants | 128 // A embedder sends this message to the browser when it wants |
124 // to resize a guest plugin container so that the guest is relaid out | 129 // to resize a guest plugin container so that the guest is relaid out |
125 // according to the new size. | 130 // according to the new size. |
126 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, | 131 IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, |
127 int /* instance_id*/, | 132 int /* instance_id*/, |
128 BrowserPluginHostMsg_ResizeGuest_Params) | 133 BrowserPluginHostMsg_ResizeGuest_Params) |
129 | 134 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
205 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 210 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
206 int /* instance_id */, | 211 int /* instance_id */, |
207 bool /* accept */) | 212 bool /* accept */) |
208 | 213 |
209 // The guest has damage it wants to convey to the embedder so that it can | 214 // The guest has damage it wants to convey to the embedder so that it can |
210 // update its backing store. | 215 // update its backing store. |
211 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, | 216 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, |
212 int /* instance_id */, | 217 int /* instance_id */, |
213 int /* message_id */, | 218 int /* message_id */, |
214 BrowserPluginMsg_UpdateRect_Params) | 219 BrowserPluginMsg_UpdateRect_Params) |
OLD | NEW |