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 "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 // Tell the renderer that plugin IME has completed. | 1438 // Tell the renderer that plugin IME has completed. |
1439 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1439 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
1440 string16 /* text */, | 1440 string16 /* text */, |
1441 int /* plugin_id */) | 1441 int /* plugin_id */) |
1442 | 1442 |
1443 // External popup menus. | 1443 // External popup menus. |
1444 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1444 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
1445 int /* selected index, -1 means no selection */) | 1445 int /* selected index, -1 means no selection */) |
1446 #endif | 1446 #endif |
1447 | 1447 |
| 1448 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer |
| 1449 // process to release the magnified image. |
| 1450 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, |
| 1451 TransportDIB::Handle /* DIB handle */) |
| 1452 |
1448 // ----------------------------------------------------------------------------- | 1453 // ----------------------------------------------------------------------------- |
1449 // Messages sent from the renderer to the browser. | 1454 // Messages sent from the renderer to the browser. |
1450 | 1455 |
1451 // Sent by the renderer when it is creating a new window. The browser creates | 1456 // Sent by the renderer when it is creating a new window. The browser creates |
1452 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1457 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1453 // MSG_ROUTING_NONE, the view couldn't be created. | 1458 // MSG_ROUTING_NONE, the view couldn't be created. |
1454 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 1459 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, |
1455 ViewHostMsg_CreateWindow_Params, | 1460 ViewHostMsg_CreateWindow_Params, |
1456 int /* route_id */, | 1461 int /* route_id */, |
1457 int32 /* surface_id */, | 1462 int32 /* surface_id */, |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2472 | 2477 |
2473 // Perform a seek. | 2478 // Perform a seek. |
2474 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, | 2479 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, |
2475 int /* player_id */, | 2480 int /* player_id */, |
2476 base::TimeDelta /* time */) | 2481 base::TimeDelta /* time */) |
2477 | 2482 |
2478 // Start the player for playback. | 2483 // Start the player for playback. |
2479 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, | 2484 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, |
2480 int /* player_id */) | 2485 int /* player_id */) |
2481 #endif | 2486 #endif |
| 2487 |
| 2488 // Notifies that multiple touch targets may have been pressed, and to show |
| 2489 // the disambiguation popup. |
| 2490 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
| 2491 gfx::Rect, /* Border of touched targets */ |
| 2492 gfx::Size, /* Size of zoomed image */ |
| 2493 TransportDIB::Id /* DIB of zoomed image */) |
OLD | NEW |