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 1410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1421 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
1422 | 1422 |
1423 // Sent by a parent frame to update its child's viewport intersection rect for | 1423 // Sent by a parent frame to update its child's viewport intersection rect for |
1424 // use by the IntersectionObserver API. | 1424 // use by the IntersectionObserver API. |
1425 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, | 1425 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
1426 gfx::Rect /* viewport_intersection */) | 1426 gfx::Rect /* viewport_intersection */) |
1427 | 1427 |
1428 // Informs the child that the frame has changed visibility. | 1428 // Informs the child that the frame has changed visibility. |
1429 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) | 1429 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */) |
1430 | 1430 |
| 1431 // Sets or unsets the inert bit on a remote frame. |
| 1432 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetIsInert, bool /* inert */) |
| 1433 |
1431 // Indicates that this frame recieved a user gesture, so that the state can be | 1434 // Indicates that this frame recieved a user gesture, so that the state can be |
1432 // propagated to any remote frames. | 1435 // propagated to any remote frames. |
1433 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) | 1436 IPC_MESSAGE_ROUTED0(FrameHostMsg_SetHasReceivedUserGesture) |
1434 | 1437 |
1435 // Used to tell the browser what the DevTools FrameId is. Needed by Headless | 1438 // Used to tell the browser what the DevTools FrameId is. Needed by Headless |
1436 // Chrome. | 1439 // Chrome. |
1437 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) | 1440 IPC_MESSAGE_ROUTED1(FrameHostMsg_SetDevToolsFrameId, std::string) |
1438 | 1441 |
1439 // Used to tell the parent that the user right clicked on an area of the | 1442 // Used to tell the parent that the user right clicked on an area of the |
1440 // content area, and a context menu should be shown for it. The params | 1443 // 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... |
1678 int /* nfr_request_id */, | 1681 int /* nfr_request_id */, |
1679 float /* distance */) | 1682 float /* distance */) |
1680 | 1683 |
1681 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1684 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1682 #endif | 1685 #endif |
1683 | 1686 |
1684 // Adding a new message? Stick to the sort order above: first platform | 1687 // Adding a new message? Stick to the sort order above: first platform |
1685 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1688 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1686 // platform independent FrameHostMsg, then ifdefs for platform specific | 1689 // platform independent FrameHostMsg, then ifdefs for platform specific |
1687 // FrameHostMsg. | 1690 // FrameHostMsg. |
OLD | NEW |