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