| 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 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1423 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, | 1423 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
| 1424 gfx::Rect /* viewport_intersection */) | 1424 gfx::Rect /* viewport_intersection */) |
| 1425 | 1425 |
| 1426 // Informs the child that the frame has changed visibility. | 1426 // Informs the child that the frame has changed visibility. |
| 1427 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1427 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1428 | 1428 |
| 1429 // Indicates that this frame recieved a user gesture, so that the state can be | 1429 // Indicates that this frame recieved a user gesture, so that the state can be |
| 1430 // propagated to any remote frames. | 1430 // propagated to any remote frames. |
| 1431 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) | 1431 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) |
| 1432 | 1432 |
| 1433 // Used to tell the browser what the DevTools FrameId is. Needed by Headless |
| 1434 // Chrome. |
| 1435 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) |
| 1436 |
| 1433 // 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 |
| 1434 // 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 |
| 1435 // 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 |
| 1436 // user right clicked. | 1440 // user right clicked. |
| 1437 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) | 1441 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) |
| 1438 | 1442 |
| 1439 // Notification that the text selection has changed. | 1443 // Notification that the text selection has changed. |
| 1440 // Note: The second parameter is the character based offset of the | 1444 // Note: The second parameter is the character based offset of the |
| 1441 // base::string16 text in the document. | 1445 // base::string16 text in the document. |
| 1442 IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged, | 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1672 int /* nfr_request_id */, | 1676 int /* nfr_request_id */, |
| 1673 float /* distance */) | 1677 float /* distance */) |
| 1674 | 1678 |
| 1675 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1679 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
| 1676 #endif | 1680 #endif |
| 1677 | 1681 |
| 1678 // Adding a new message? Stick to the sort order above: first platform | 1682 // Adding a new message? Stick to the sort order above: first platform |
| 1679 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1683 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1680 // platform independent FrameHostMsg, then ifdefs for platform specific | 1684 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1681 // FrameHostMsg. | 1685 // FrameHostMsg. |
| OLD | NEW |