| 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 1400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1411 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, | 1411 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
| 1412 gfx::Rect /* viewport_intersection */) | 1412 gfx::Rect /* viewport_intersection */) |
| 1413 | 1413 |
| 1414 // Informs the child that the frame has changed visibility. | 1414 // Informs the child that the frame has changed visibility. |
| 1415 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1415 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1416 | 1416 |
| 1417 // Indicates that this frame recieved a user gesture, so that the state can be | 1417 // Indicates that this frame recieved a user gesture, so that the state can be |
| 1418 // propagated to any remote frames. | 1418 // propagated to any remote frames. |
| 1419 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) | 1419 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) |
| 1420 | 1420 |
| 1421 // Used to tell the browser what the DevTools FrameId is. Needed by Headless |
| 1422 // Chrome. |
| 1423 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) |
| 1424 |
| 1421 // Used to tell the parent that the user right clicked on an area of the | 1425 // Used to tell the parent that the user right clicked on an area of the |
| 1422 // content area, and a context menu should be shown for it. The params | 1426 // content area, and a context menu should be shown for it. The params |
| 1423 // object contains information about the node(s) that were selected when the | 1427 // object contains information about the node(s) that were selected when the |
| 1424 // user right clicked. | 1428 // user right clicked. |
| 1425 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1429 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 1426 | 1430 |
| 1427 // Notification that the text selection has changed. | 1431 // Notification that the text selection has changed. |
| 1428 // Note: The second parameter is the character based offset of the | 1432 // Note: The second parameter is the character based offset of the |
| 1429 // base::string16 text in the document. | 1433 // base::string16 text in the document. |
| 1430 IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged, | 1434 IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged, |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1656 int /* nfr_request_id */, | 1660 int /* nfr_request_id */, |
| 1657 float /* distance */) | 1661 float /* distance */) |
| 1658 | 1662 |
| 1659 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1663 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
| 1660 #endif | 1664 #endif |
| 1661 | 1665 |
| 1662 // Adding a new message? Stick to the sort order above: first platform | 1666 // Adding a new message? Stick to the sort order above: first platform |
| 1663 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1667 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1664 // platform independent FrameHostMsg, then ifdefs for platform specific | 1668 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1665 // FrameHostMsg. | 1669 // FrameHostMsg. |
| OLD | NEW |