| 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 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1416 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1417 | 1417 |
| 1418 // Sent by a parent frame to update its child's viewport intersection rect for | 1418 // Sent by a parent frame to update its child's viewport intersection rect for |
| 1419 // use by the IntersectionObserver API. | 1419 // use by the IntersectionObserver API. |
| 1420 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, | 1420 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
| 1421 gfx::Rect /* viewport_intersection */) | 1421 gfx::Rect /* viewport_intersection */) |
| 1422 | 1422 |
| 1423 // Informs the child that the frame has changed visibility. | 1423 // Informs the child that the frame has changed visibility. |
| 1424 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1424 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
| 1425 | 1425 |
| 1426 // Sets or unsets the inert bit on a remote frame. |
| 1427 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetIsInert, bool /* inert */) |
| 1428 |
| 1426 // 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 |
| 1427 // propagated to any remote frames. | 1430 // propagated to any remote frames. |
| 1428 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) | 1431 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) |
| 1429 | 1432 |
| 1430 // Used to tell the browser what the DevTools FrameId is. Needed by Headless | 1433 // Used to tell the browser what the DevTools FrameId is. Needed by Headless |
| 1431 // Chrome. | 1434 // Chrome. |
| 1432 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) | 1435 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) |
| 1433 | 1436 |
| 1434 // 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 |
| 1435 // 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 |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 int /* nfr_request_id */, | 1676 int /* nfr_request_id */, |
| 1674 float /* distance */) | 1677 float /* distance */) |
| 1675 | 1678 |
| 1676 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1679 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
| 1677 #endif | 1680 #endif |
| 1678 | 1681 |
| 1679 // 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 |
| 1680 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1683 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1681 // platform independent FrameHostMsg, then ifdefs for platform specific | 1684 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1682 // FrameHostMsg. | 1685 // FrameHostMsg. |
| OLD | NEW |