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 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 | 1436 |
1437 // Used to tell the parent that the user right clicked on an area of the | 1437 // Used to tell the parent that the user right clicked on an area of the |
1438 // content area, and a context menu should be shown for it. The params | 1438 // content area, and a context menu should be shown for it. The params |
1439 // object contains information about the node(s) that were selected when the | 1439 // object contains information about the node(s) that were selected when the |
1440 // user right clicked. | 1440 // user right clicked. |
1441 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1441 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
1442 | 1442 |
1443 // Notification that the text selection has changed. | 1443 // Notification that the text selection has changed. |
1444 // Note: The second parameter is the character based offset of the | 1444 // Note: The second parameter is the character based offset of the |
1445 // base::string16 text in the document. | 1445 // base::string16 text in the document. |
1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged, | 1446 IPC_MESSAGE_ROUTED4(FrameHostMsg_SelectionChanged, |
1447 base::string16 /* text covers the selection range */, | 1447 base::string16 /* text covers the selection range */, |
1448 uint32_t /* the offset of the text in the document */, | 1448 uint32_t /* the offset of the text in the document */, |
1449 gfx::Range /* selection range in the document */) | 1449 gfx::Range /* selection range in the document */, |
| 1450 bool /* selection is triggered by user input */) |
1450 | 1451 |
1451 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was | 1452 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was |
1452 // requested. The ID is the parameter supplied to | 1453 // requested. The ID is the parameter supplied to |
1453 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the | 1454 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the |
1454 // script as its only element, one of Null, Boolean, Integer, Real, Date, or | 1455 // script as its only element, one of Null, Boolean, Integer, Real, Date, or |
1455 // String. | 1456 // String. |
1456 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, | 1457 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, |
1457 int /* id */, | 1458 int /* id */, |
1458 base::ListValue /* result */) | 1459 base::ListValue /* result */) |
1459 | 1460 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 int /* nfr_request_id */, | 1677 int /* nfr_request_id */, |
1677 float /* distance */) | 1678 float /* distance */) |
1678 | 1679 |
1679 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1680 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1680 #endif | 1681 #endif |
1681 | 1682 |
1682 // Adding a new message? Stick to the sort order above: first platform | 1683 // Adding a new message? Stick to the sort order above: first platform |
1683 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1684 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1684 // platform independent FrameHostMsg, then ifdefs for platform specific | 1685 // platform independent FrameHostMsg, then ifdefs for platform specific |
1685 // FrameHostMsg. | 1686 // FrameHostMsg. |
OLD | NEW |