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