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 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1430 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1430 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
1431 | 1431 |
1432 // Sent by a parent frame to update its child's viewport intersection rect for | 1432 // Sent by a parent frame to update its child's viewport intersection rect for |
1433 // use by the IntersectionObserver API. | 1433 // use by the IntersectionObserver API. |
1434 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, | 1434 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
1435 gfx::Rect /* viewport_intersection */) | 1435 gfx::Rect /* viewport_intersection */) |
1436 | 1436 |
1437 // Informs the child that the frame has changed visibility. | 1437 // Informs the child that the frame has changed visibility. |
1438 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1438 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
1439 | 1439 |
| 1440 // Sets or unsets the inert bit on a remote frame. |
| 1441 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetIsInert, bool /* inert */) |
| 1442 |
1440 // Indicates that this frame recieved a user gesture, so that the state can be | 1443 // Indicates that this frame recieved a user gesture, so that the state can be |
1441 // propagated to any remote frames. | 1444 // propagated to any remote frames. |
1442 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) | 1445 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) |
1443 | 1446 |
1444 // Used to tell the browser what the DevTools FrameId is. Needed by Headless | 1447 // Used to tell the browser what the DevTools FrameId is. Needed by Headless |
1445 // Chrome. | 1448 // Chrome. |
1446 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) | 1449 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) |
1447 | 1450 |
1448 // Used to tell the parent that the user right clicked on an area of the | 1451 // Used to tell the parent that the user right clicked on an area of the |
1449 // content area, and a context menu should be shown for it. The params | 1452 // content area, and a context menu should be shown for it. The params |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 int /* nfr_request_id */, | 1694 int /* nfr_request_id */, |
1692 float /* distance */) | 1695 float /* distance */) |
1693 | 1696 |
1694 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1697 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1695 #endif | 1698 #endif |
1696 | 1699 |
1697 // Adding a new message? Stick to the sort order above: first platform | 1700 // Adding a new message? Stick to the sort order above: first platform |
1698 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1701 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1699 // platform independent FrameHostMsg, then ifdefs for platform specific | 1702 // platform independent FrameHostMsg, then ifdefs for platform specific |
1700 // FrameHostMsg. | 1703 // FrameHostMsg. |
OLD | NEW |