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