| 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 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 // value of the frame's beforeunload handler: true if the user decided to | 1387 // value of the frame's beforeunload handler: true if the user decided to |
| 1388 // proceed with leaving the page. | 1388 // proceed with leaving the page. |
| 1389 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeforeUnload_ACK, | 1389 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeforeUnload_ACK, |
| 1390 bool /* proceed */, | 1390 bool /* proceed */, |
| 1391 base::TimeTicks /* before_unload_start_time */, | 1391 base::TimeTicks /* before_unload_start_time */, |
| 1392 base::TimeTicks /* before_unload_end_time */) | 1392 base::TimeTicks /* before_unload_end_time */) |
| 1393 | 1393 |
| 1394 // Indicates that the current frame has swapped out, after a SwapOut message. | 1394 // Indicates that the current frame has swapped out, after a SwapOut message. |
| 1395 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) | 1395 IPC_MESSAGE_ROUTED0(FrameHostMsg_SwapOut_ACK) |
| 1396 | 1396 |
| 1397 // Forwards an input event to a child. | |
| 1398 // TODO(nick): Temporary bridge, revisit once the browser process can route | |
| 1399 // input directly to subframes. http://crbug.com/339659 | |
| 1400 IPC_MESSAGE_ROUTED1(FrameHostMsg_ForwardInputEvent, | |
| 1401 IPC::WebInputEventPointer /* event */) | |
| 1402 | |
| 1403 // Tells the parent that a child's frame rect has changed (or the rect/scroll | 1397 // Tells the parent that a child's frame rect has changed (or the rect/scroll |
| 1404 // position of a child's ancestor has changed). | 1398 // position of a child's ancestor has changed). |
| 1405 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) | 1399 IPC_MESSAGE_ROUTED1(FrameHostMsg_FrameRectChanged, gfx::Rect /* frame_rect */) |
| 1406 | 1400 |
| 1407 // Sent by a parent frame to update its child's viewport intersection rect for | 1401 // Sent by a parent frame to update its child's viewport intersection rect for |
| 1408 // use by the IntersectionObserver API. | 1402 // use by the IntersectionObserver API. |
| 1409 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, | 1403 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateViewportIntersection, |
| 1410 gfx::Rect /* viewport_intersection */) | 1404 gfx::Rect /* viewport_intersection */) |
| 1411 | 1405 |
| 1412 // Informs the child that the frame has changed visibility. | 1406 // Informs the child that the frame has changed visibility. |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1650 int /* nfr_request_id */, | 1644 int /* nfr_request_id */, |
| 1651 float /* distance */) | 1645 float /* distance */) |
| 1652 | 1646 |
| 1653 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1647 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
| 1654 #endif | 1648 #endif |
| 1655 | 1649 |
| 1656 // Adding a new message? Stick to the sort order above: first platform | 1650 // Adding a new message? Stick to the sort order above: first platform |
| 1657 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1651 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1658 // platform independent FrameHostMsg, then ifdefs for platform specific | 1652 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1659 // FrameHostMsg. | 1653 // FrameHostMsg. |
| OLD | NEW |