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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1325 int /* routing_id */, | 1325 int /* routing_id */, |
1326 GURL /* document_url */, | 1326 GURL /* document_url */, |
1327 base::FilePath /* plugin_path */) | 1327 base::FilePath /* plugin_path */) |
1328 #endif // defined(ENABLE_PLUGINS) | 1328 #endif // defined(ENABLE_PLUGINS) |
1329 | 1329 |
1330 // Send the tooltip text for the current mouse position to the browser. | 1330 // Send the tooltip text for the current mouse position to the browser. |
1331 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, | 1331 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, |
1332 base::string16 /* tooltip text string */, | 1332 base::string16 /* tooltip text string */, |
1333 blink::WebTextDirection /* text direction hint */) | 1333 blink::WebTextDirection /* text direction hint */) |
1334 | 1334 |
1335 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) | |
1336 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) | |
1337 | |
1338 // Notification that the text selection has changed. | 1335 // Notification that the text selection has changed. |
1339 // Note: The secound parameter is the character based offset of the | 1336 // Note: The secound parameter is the character based offset of the |
1340 // base::string16 | 1337 // base::string16 |
1341 // text in the document. | 1338 // text in the document. |
1342 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1339 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1343 base::string16 /* text covers the selection range */, | 1340 base::string16 /* text covers the selection range */, |
1344 size_t /* the offset of the text in the document */, | 1341 size_t /* the offset of the text in the document */, |
1345 gfx::Range /* selection range in the document */) | 1342 gfx::Range /* selection range in the document */) |
1346 | 1343 |
1347 // Notification that the selection bounds have changed. | 1344 // Notification that the selection bounds have changed. |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1643 // Since the browser keeps handles to the allocated transport DIBs, this | 1640 // Since the browser keeps handles to the allocated transport DIBs, this |
1644 // message is sent to tell the browser that it may release them when the | 1641 // message is sent to tell the browser that it may release them when the |
1645 // renderer is finished with them. | 1642 // renderer is finished with them. |
1646 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1643 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1647 TransportDIB::Id /* DIB id */) | 1644 TransportDIB::Id /* DIB id */) |
1648 #endif | 1645 #endif |
1649 | 1646 |
1650 // Adding a new message? Stick to the sort order above: first platform | 1647 // Adding a new message? Stick to the sort order above: first platform |
1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1648 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1649 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |