| 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/process.h" | 10 #include "base/process/process.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 BrowserPluginHostMsg_ResizeGuest_Params) | 174 BrowserPluginHostMsg_ResizeGuest_Params) |
| 175 | 175 |
| 176 // ----------------------------------------------------------------------------- | 176 // ----------------------------------------------------------------------------- |
| 177 // These messages are from the browser process to the embedder. | 177 // These messages are from the browser process to the embedder. |
| 178 | 178 |
| 179 // This message is sent in response to a completed attachment of a guest | 179 // This message is sent in response to a completed attachment of a guest |
| 180 // to a BrowserPlugin. | 180 // to a BrowserPlugin. |
| 181 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_Attach_ACK, | 181 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_Attach_ACK, |
| 182 int /* browser_plugin_instance_id */) | 182 int /* browser_plugin_instance_id */) |
| 183 | 183 |
| 184 // Once the swapped out guest RenderView has been created in the embedder render | |
| 185 // process, the browser process informs the embedder of its routing ID. | |
| 186 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady, | |
| 187 int /* browser_plugin_instance_id */, | |
| 188 int /* source_routing_id */) | |
| 189 | |
| 190 // When the guest crashes, the browser process informs the embedder through this | 184 // When the guest crashes, the browser process informs the embedder through this |
| 191 // message. | 185 // message. |
| 192 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestGone, | 186 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestGone, |
| 193 int /* browser_plugin_instance_id */) | 187 int /* browser_plugin_instance_id */) |
| 194 | 188 |
| 195 // When the user tabs to the end of the tab stops of a guest, the browser | 189 // When the user tabs to the end of the tab stops of a guest, the browser |
| 196 // process informs the embedder to tab out of the browser plugin. | 190 // process informs the embedder to tab out of the browser plugin. |
| 197 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 191 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
| 198 int /* browser_plugin_instance_id */, | 192 int /* browser_plugin_instance_id */, |
| 199 bool /* reverse */) | 193 bool /* reverse */) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // See comment about BrowserPluginMsg_BuffersSwapped and | 230 // See comment about BrowserPluginMsg_BuffersSwapped and |
| 237 // BrowserPluginMsg_CompositorFrameSwapped for how these related | 231 // BrowserPluginMsg_CompositorFrameSwapped for how these related |
| 238 // to the FrameHostMsg variants. | 232 // to the FrameHostMsg variants. |
| 239 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_BuffersSwappedACK, | 233 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_BuffersSwappedACK, |
| 240 FrameHostMsg_BuffersSwappedACK_Params /* params */) | 234 FrameHostMsg_BuffersSwappedACK_Params /* params */) |
| 241 | 235 |
| 242 // Acknowledge that we presented an ubercomp frame. | 236 // Acknowledge that we presented an ubercomp frame. |
| 243 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, | 237 IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_CompositorFrameSwappedACK, |
| 244 int /* browser_plugin_instance_id */, | 238 int /* browser_plugin_instance_id */, |
| 245 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) | 239 FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) |
| OLD | NEW |