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 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1424 // Tell the renderer that plugin IME has completed. | 1424 // Tell the renderer that plugin IME has completed. |
1425 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, | 1425 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, |
1426 string16 /* text */, | 1426 string16 /* text */, |
1427 int /* plugin_id */) | 1427 int /* plugin_id */) |
1428 | 1428 |
1429 // External popup menus. | 1429 // External popup menus. |
1430 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1430 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
1431 int /* selected index, -1 means no selection */) | 1431 int /* selected index, -1 means no selection */) |
1432 #endif | 1432 #endif |
1433 | 1433 |
| 1434 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer |
| 1435 // process to release the magnified image. |
| 1436 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, |
| 1437 TransportDIB::Handle /* DIB handle */) |
| 1438 |
1434 // ----------------------------------------------------------------------------- | 1439 // ----------------------------------------------------------------------------- |
1435 // Messages sent from the renderer to the browser. | 1440 // Messages sent from the renderer to the browser. |
1436 | 1441 |
1437 // Sent by the renderer when it is creating a new window. The browser creates | 1442 // Sent by the renderer when it is creating a new window. The browser creates |
1438 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1443 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
1439 // MSG_ROUTING_NONE, the view couldn't be created. | 1444 // MSG_ROUTING_NONE, the view couldn't be created. |
1440 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 1445 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, |
1441 ViewHostMsg_CreateWindow_Params, | 1446 ViewHostMsg_CreateWindow_Params, |
1442 int /* route_id */, | 1447 int /* route_id */, |
1443 int32 /* surface_id */, | 1448 int32 /* surface_id */, |
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 // marker, in similarly normalized coords (or an empty rect if there isn't one). | 2392 // marker, in similarly normalized coords (or an empty rect if there isn't one). |
2388 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, | 2393 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, |
2389 int /* version */, | 2394 int /* version */, |
2390 std::vector<gfx::RectF> /* rects */, | 2395 std::vector<gfx::RectF> /* rects */, |
2391 gfx::RectF /* active_rect */) | 2396 gfx::RectF /* active_rect */) |
2392 | 2397 |
2393 // Start an android intent with the given URI. | 2398 // Start an android intent with the given URI. |
2394 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 2399 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
2395 GURL /* content_url */) | 2400 GURL /* content_url */) |
2396 #endif | 2401 #endif |
| 2402 |
| 2403 // Notifies that multiple touch targets may have been pressed, and to show |
| 2404 // the disambiguation popup. |
| 2405 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
| 2406 gfx::Rect, /* Border of touched targets */ |
| 2407 gfx::Size, /* Size of zoomed image */ |
| 2408 TransportDIB::Id /* DIB of zoomed image */) |
OLD | NEW |