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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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) | 1335 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) |
1336 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveSelectionExtent_ACK) | |
jdduke (slow)
2014/10/15 15:46:07
Hmm, these should really be InputHostMsg types, wo
christiank
2014/10/17 14:33:05
Sure!
| |
1336 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) | 1337 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) |
1337 | 1338 |
1338 // Notification that the text selection has changed. | 1339 // Notification that the text selection has changed. |
1339 // Note: The secound parameter is the character based offset of the | 1340 // Note: The secound parameter is the character based offset of the |
1340 // base::string16 | 1341 // base::string16 |
1341 // text in the document. | 1342 // text in the document. |
1342 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1343 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1343 base::string16 /* text covers the selection range */, | 1344 base::string16 /* text covers the selection range */, |
1344 size_t /* the offset of the text in the document */, | 1345 size_t /* the offset of the text in the document */, |
1345 gfx::Range /* selection range in the document */) | 1346 gfx::Range /* selection range in the document */) |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1643 // Since the browser keeps handles to the allocated transport DIBs, this | 1644 // 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 | 1645 // message is sent to tell the browser that it may release them when the |
1645 // renderer is finished with them. | 1646 // renderer is finished with them. |
1646 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1647 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1647 TransportDIB::Id /* DIB id */) | 1648 TransportDIB::Id /* DIB id */) |
1648 #endif | 1649 #endif |
1649 | 1650 |
1650 // 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 |
1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1652 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1653 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |