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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 // process to release the magnified image. | 1349 // process to release the magnified image. |
1350 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, | 1350 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, |
1351 TransportDIB::Handle /* DIB handle */) | 1351 TransportDIB::Handle /* DIB handle */) |
1352 | 1352 |
1353 // Notifies the renderer that a snapshot has been retrieved. | 1353 // Notifies the renderer that a snapshot has been retrieved. |
1354 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | 1354 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
1355 int /* snapshot_id */, | 1355 int /* snapshot_id */, |
1356 gfx::Size /* size */, | 1356 gfx::Size /* size */, |
1357 std::vector<unsigned char> /* png */) | 1357 std::vector<unsigned char> /* png */) |
1358 | 1358 |
| 1359 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
| 1360 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, |
| 1361 cc::CompositorFrameAck /* ack */) |
| 1362 |
1359 // ----------------------------------------------------------------------------- | 1363 // ----------------------------------------------------------------------------- |
1360 // Messages sent from the renderer to the browser. | 1364 // Messages sent from the renderer to the browser. |
1361 | 1365 |
1362 // Sent by the renderer when it is creating a new window. The browser creates | 1366 // Sent by the renderer when it is creating a new window. The browser creates |
1363 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1367 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1364 // MSG_ROUTING_NONE, the view couldn't be created. | 1368 // MSG_ROUTING_NONE, the view couldn't be created. |
1365 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 1369 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, |
1366 ViewHostMsg_CreateWindow_Params, | 1370 ViewHostMsg_CreateWindow_Params, |
1367 int /* route_id */, | 1371 int /* route_id */, |
1368 int32 /* surface_id */, | 1372 int32 /* surface_id */, |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2161 // software or GPU frame. | 2165 // software or GPU frame. |
2162 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2166 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, |
2163 int32 /* surface id */, | 2167 int32 /* surface id */, |
2164 uint64 /* surface_handle */, | 2168 uint64 /* surface_handle */, |
2165 int32 /* route_id */, | 2169 int32 /* route_id */, |
2166 gfx::Size /* size */, | 2170 gfx::Size /* size */, |
2167 int32 /* gpu_process_host_id */) | 2171 int32 /* gpu_process_host_id */) |
2168 | 2172 |
2169 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame, | 2173 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame, |
2170 cc::CompositorFrame /* frame */) | 2174 cc::CompositorFrame /* frame */) |
2171 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrameAck, | |
2172 cc::CompositorFrameAck /* ack */) | |
2173 | 2175 |
2174 // Opens a file asynchronously. The response returns a file descriptor | 2176 // Opens a file asynchronously. The response returns a file descriptor |
2175 // and an error code from base/platform_file.h. | 2177 // and an error code from base/platform_file.h. |
2176 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, | 2178 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, |
2177 FilePath /* file path */, | 2179 FilePath /* file path */, |
2178 int /* flags */, | 2180 int /* flags */, |
2179 int /* message_id */) | 2181 int /* message_id */) |
2180 | 2182 |
2181 //--------------------------------------------------------------------------- | 2183 //--------------------------------------------------------------------------- |
2182 // Request for cryptographic operation messages: | 2184 // Request for cryptographic operation messages: |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2370 int /* arb_robustness_status_code */) | 2372 int /* arb_robustness_status_code */) |
2371 | 2373 |
2372 #if defined(OS_WIN) | 2374 #if defined(OS_WIN) |
2373 // Request that the given font characters be loaded by the browser so it's | 2375 // Request that the given font characters be loaded by the browser so it's |
2374 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2376 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2375 // for details. | 2377 // for details. |
2376 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2378 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2377 LOGFONT /* font_data */, | 2379 LOGFONT /* font_data */, |
2378 string16 /* characters */) | 2380 string16 /* characters */) |
2379 #endif | 2381 #endif |
OLD | NEW |