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 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1371 // Tell the renderer that plugin IME has completed. | 1371 // Tell the renderer that plugin IME has completed. |
1372 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1372 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
1373 string16 /* text */, | 1373 string16 /* text */, |
1374 int /* plugin_id */) | 1374 int /* plugin_id */) |
1375 | 1375 |
1376 // External popup menus. | 1376 // External popup menus. |
1377 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1377 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
1378 int /* selected index, -1 means no selection */) | 1378 int /* selected index, -1 means no selection */) |
1379 #endif | 1379 #endif |
1380 | 1380 |
| 1381 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
| 1382 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, |
| 1383 cc::CompositorFrameAck /* ack */) |
| 1384 |
1381 // ----------------------------------------------------------------------------- | 1385 // ----------------------------------------------------------------------------- |
1382 // Messages sent from the renderer to the browser. | 1386 // Messages sent from the renderer to the browser. |
1383 | 1387 |
1384 // Sent by the renderer when it is creating a new window. The browser creates | 1388 // Sent by the renderer when it is creating a new window. The browser creates |
1385 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1389 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1386 // MSG_ROUTING_NONE, the view couldn't be created. | 1390 // MSG_ROUTING_NONE, the view couldn't be created. |
1387 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 1391 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, |
1388 ViewHostMsg_CreateWindow_Params, | 1392 ViewHostMsg_CreateWindow_Params, |
1389 int /* route_id */, | 1393 int /* route_id */, |
1390 int32 /* surface_id */, | 1394 int32 /* surface_id */, |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2092 // software or GPU frame. | 2096 // software or GPU frame. |
2093 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, | 2097 IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, |
2094 int32 /* surface id */, | 2098 int32 /* surface id */, |
2095 uint64 /* surface_handle */, | 2099 uint64 /* surface_handle */, |
2096 int32 /* route_id */, | 2100 int32 /* route_id */, |
2097 gfx::Size /* size */, | 2101 gfx::Size /* size */, |
2098 int32 /* gpu_process_host_id */) | 2102 int32 /* gpu_process_host_id */) |
2099 | 2103 |
2100 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame, | 2104 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame, |
2101 cc::CompositorFrame /* frame */) | 2105 cc::CompositorFrame /* frame */) |
2102 IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrameAck, | |
2103 cc::CompositorFrameAck /* ack */) | |
2104 | 2106 |
2105 // Opens a file asynchronously. The response returns a file descriptor | 2107 // Opens a file asynchronously. The response returns a file descriptor |
2106 // and an error code from base/platform_file.h. | 2108 // and an error code from base/platform_file.h. |
2107 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, | 2109 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, |
2108 base::FilePath /* file path */, | 2110 base::FilePath /* file path */, |
2109 int /* flags */, | 2111 int /* flags */, |
2110 int /* message_id */) | 2112 int /* message_id */) |
2111 | 2113 |
2112 //--------------------------------------------------------------------------- | 2114 //--------------------------------------------------------------------------- |
2113 // Request for cryptographic operation messages: | 2115 // Request for cryptographic operation messages: |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2414 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2416 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2415 // for details. | 2417 // for details. |
2416 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2418 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2417 LOGFONT /* font_data */, | 2419 LOGFONT /* font_data */, |
2418 string16 /* characters */) | 2420 string16 /* characters */) |
2419 #endif | 2421 #endif |
2420 | 2422 |
2421 // Adding a new message? Stick to the sort order above: first platform | 2423 // Adding a new message? Stick to the sort order above: first platform |
2422 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2424 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2423 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2425 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |