OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1466 | 1466 |
1467 // Used to tell the parent that the user right clicked on an area of the | 1467 // Used to tell the parent that the user right clicked on an area of the |
1468 // content area, and a context menu should be shown for it. The params | 1468 // content area, and a context menu should be shown for it. The params |
1469 // object contains information about the node(s) that were selected when the | 1469 // object contains information about the node(s) that were selected when the |
1470 // user right clicked. | 1470 // user right clicked. |
1471 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1471 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
1472 | 1472 |
1473 // Notification that the text selection has changed. | 1473 // Notification that the text selection has changed. |
1474 // Note: The second parameter is the character based offset of the | 1474 // Note: The second parameter is the character based offset of the |
1475 // base::string16 text in the document. | 1475 // base::string16 text in the document. |
1476 IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged, | 1476 IPC_MESSAGE_ROUTED4(FrameHostMsg_SelectionChanged, |
1477 base::string16 /* text covers the selection range */, | 1477 base::string16 /* text covers the selection range */, |
1478 uint32_t /* the offset of the text in the document */, | 1478 uint32_t /* the offset of the text in the document */, |
1479 gfx::Range /* selection range in the document */) | 1479 gfx::Range /* selection range in the document */, |
| 1480 bool /* selection is triggered by user input */) |
1480 | 1481 |
1481 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was | 1482 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was |
1482 // requested. The ID is the parameter supplied to | 1483 // requested. The ID is the parameter supplied to |
1483 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the | 1484 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the |
1484 // script as its only element, one of Null, Boolean, Integer, Real, Date, or | 1485 // script as its only element, one of Null, Boolean, Integer, Real, Date, or |
1485 // String. | 1486 // String. |
1486 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, | 1487 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, |
1487 int /* id */, | 1488 int /* id */, |
1488 base::ListValue /* result */) | 1489 base::ListValue /* result */) |
1489 | 1490 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1710 int /* nfr_request_id */, | 1711 int /* nfr_request_id */, |
1711 float /* distance */) | 1712 float /* distance */) |
1712 | 1713 |
1713 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1714 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1714 #endif | 1715 #endif |
1715 | 1716 |
1716 // Adding a new message? Stick to the sort order above: first platform | 1717 // Adding a new message? Stick to the sort order above: first platform |
1717 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1718 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1718 // platform independent FrameHostMsg, then ifdefs for platform specific | 1719 // platform independent FrameHostMsg, then ifdefs for platform specific |
1719 // FrameHostMsg. | 1720 // FrameHostMsg. |
OLD | NEW |