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/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 // Tell the renderer that plugin IME has completed. | 1309 // Tell the renderer that plugin IME has completed. |
1310 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1310 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
1311 string16 /* text */, | 1311 string16 /* text */, |
1312 int /* plugin_id */) | 1312 int /* plugin_id */) |
1313 | 1313 |
1314 // External popup menus. | 1314 // External popup menus. |
1315 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1315 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
1316 int /* selected index, -1 means no selection */) | 1316 int /* selected index, -1 means no selection */) |
1317 #endif | 1317 #endif |
1318 | 1318 |
| 1319 // Sent by the browser when an IME update that requires acknowledgement has been |
| 1320 // processed on the browser side. |
| 1321 IPC_MESSAGE_ROUTED0(ViewMsg_AcknowledgeImeEvent) |
| 1322 |
1319 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 1323 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
1320 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, | 1324 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, |
1321 cc::CompositorFrameAck /* ack */) | 1325 cc::CompositorFrameAck /* ack */) |
1322 | 1326 |
1323 // Sent by the browser to ask the renderer for a snapshot of the current view. | 1327 // Sent by the browser to ask the renderer for a snapshot of the current view. |
1324 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, | 1328 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, |
1325 gfx::Rect /* src_subrect */) | 1329 gfx::Rect /* src_subrect */) |
1326 | 1330 |
1327 // ----------------------------------------------------------------------------- | 1331 // ----------------------------------------------------------------------------- |
1328 // Messages sent from the renderer to the browser. | 1332 // Messages sent from the renderer to the browser. |
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2325 // Since the browser keeps handles to the allocated transport DIBs, this | 2329 // Since the browser keeps handles to the allocated transport DIBs, this |
2326 // message is sent to tell the browser that it may release them when the | 2330 // message is sent to tell the browser that it may release them when the |
2327 // renderer is finished with them. | 2331 // renderer is finished with them. |
2328 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 2332 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
2329 TransportDIB::Id /* DIB id */) | 2333 TransportDIB::Id /* DIB id */) |
2330 #endif | 2334 #endif |
2331 | 2335 |
2332 // Adding a new message? Stick to the sort order above: first platform | 2336 // Adding a new message? Stick to the sort order above: first platform |
2333 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2337 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2334 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2338 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |