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/process/process.h" | 9 #include "base/process/process.h" |
10 #include "cc/surfaces/surface.h" | 10 #include "cc/surfaces/surface.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 cc::SurfaceSequence /* sequence */) | 155 cc::SurfaceSequence /* sequence */) |
156 | 156 |
157 // ----------------------------------------------------------------------------- | 157 // ----------------------------------------------------------------------------- |
158 // These messages are from the browser process to the embedder. | 158 // These messages are from the browser process to the embedder. |
159 | 159 |
160 // When the guest crashes, the browser process informs the embedder through this | 160 // When the guest crashes, the browser process informs the embedder through this |
161 // message. | 161 // message. |
162 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestGone, | 162 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestGone, |
163 int /* browser_plugin_instance_id */) | 163 int /* browser_plugin_instance_id */) |
164 | 164 |
| 165 IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestReady, |
| 166 int /* browser_plugin_instance_id */) |
| 167 |
165 // When the user tabs to the end of the tab stops of a guest, the browser | 168 // When the user tabs to the end of the tab stops of a guest, the browser |
166 // process informs the embedder to tab out of the browser plugin. | 169 // process informs the embedder to tab out of the browser plugin. |
167 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, | 170 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, |
168 int /* browser_plugin_instance_id */, | 171 int /* browser_plugin_instance_id */, |
169 bool /* reverse */) | 172 bool /* reverse */) |
170 | 173 |
171 // When the guest starts/stops listening to touch events, it needs to notify the | 174 // When the guest starts/stops listening to touch events, it needs to notify the |
172 // plugin in the embedder about it. | 175 // plugin in the embedder about it. |
173 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, | 176 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ShouldAcceptTouchEvents, |
174 int /* browser_plugin_instance_id */, | 177 int /* browser_plugin_instance_id */, |
(...skipping 13 matching lines...) Expand all Loading... |
188 | 191 |
189 // Forwards a PointerLock Unlock request to the BrowserPlugin. | 192 // Forwards a PointerLock Unlock request to the BrowserPlugin. |
190 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, | 193 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock, |
191 int /* browser_plugin_instance_id */, | 194 int /* browser_plugin_instance_id */, |
192 bool /* enable */) | 195 bool /* enable */) |
193 | 196 |
194 // Sends text to be displayed in tooltip. | 197 // Sends text to be displayed in tooltip. |
195 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, | 198 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetTooltipText, |
196 int /* browser_plugin_instance_id */, | 199 int /* browser_plugin_instance_id */, |
197 base::string16 /* tooltip_text */) | 200 base::string16 /* tooltip_text */) |
OLD | NEW |