OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 2240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2251 int32 /* height */, | 2251 int32 /* height */, |
2252 uint64 /* surface_id */) | 2252 uint64 /* surface_id */) |
2253 | 2253 |
2254 // This message notifies the browser process that the plug-in | 2254 // This message notifies the browser process that the plug-in |
2255 // swapped the buffers associated with the given "window", which | 2255 // swapped the buffers associated with the given "window", which |
2256 // should cause the browser to redraw the various plug-ins' | 2256 // should cause the browser to redraw the various plug-ins' |
2257 // contents. | 2257 // contents. |
2258 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, | 2258 IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, |
2259 gfx::PluginWindowHandle /* window */, | 2259 gfx::PluginWindowHandle /* window */, |
2260 uint64 /* surface_id */) | 2260 uint64 /* surface_id */) |
| 2261 #elif defined(OS_WIN) |
| 2262 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowCompositorHostWindow, |
| 2263 bool /* show */) |
2261 #endif | 2264 #endif |
2262 | 2265 |
2263 // A renderer sends this to the browser process when it wants to create a | 2266 // A renderer sends this to the browser process when it wants to create a |
2264 // worker. The browser will create the worker process if necessary, and | 2267 // worker. The browser will create the worker process if necessary, and |
2265 // will return the route id on success. On error returns MSG_ROUTING_NONE. | 2268 // will return the route id on success. On error returns MSG_ROUTING_NONE. |
2266 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, | 2269 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, |
2267 ViewHostMsg_CreateWorker_Params, | 2270 ViewHostMsg_CreateWorker_Params, |
2268 int /* route_id */) | 2271 int /* route_id */) |
2269 | 2272 |
2270 // This message is sent to the browser to see if an instance of this shared | 2273 // This message is sent to the browser to see if an instance of this shared |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3074 base::PlatformFileInfo, /* info */ | 3077 base::PlatformFileInfo, /* info */ |
3075 base::PlatformFileError /* error_code */) | 3078 base::PlatformFileError /* error_code */) |
3076 | 3079 |
3077 // Get the directory's contents. | 3080 // Get the directory's contents. |
3078 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3081 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3079 FilePath /* path */, | 3082 FilePath /* path */, |
3080 PepperDirContents, /* contents */ | 3083 PepperDirContents, /* contents */ |
3081 base::PlatformFileError /* error_code */) | 3084 base::PlatformFileError /* error_code */) |
3082 | 3085 |
3083 IPC_END_MESSAGES(ViewHost) | 3086 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |