| 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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 // Sent for top-level frames. | 795 // Sent for top-level frames. |
| 796 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, | 796 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
| 797 FrameMsg_TextTrackSettings_Params /* params */) | 797 FrameMsg_TextTrackSettings_Params /* params */) |
| 798 | 798 |
| 799 // Posts a message from a frame in another process to the current renderer. | 799 // Posts a message from a frame in another process to the current renderer. |
| 800 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) | 800 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) |
| 801 | 801 |
| 802 // Tells the RenderFrame to clear the focused element (if any). | 802 // Tells the RenderFrame to clear the focused element (if any). |
| 803 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocusedElement) | 803 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocusedElement) |
| 804 | 804 |
| 805 // PlzNavigate |
| 806 // Tells the renderer that the navigation request was aborted. |
| 807 IPC_MESSAGE_ROUTED2(FrameMsg_AbortNavigationRequest, |
| 808 GURL /* url */, |
| 809 int /* error code */) |
| 810 |
| 805 #if defined(OS_ANDROID) | 811 #if defined(OS_ANDROID) |
| 806 // Request the distance to the nearest find result in a frame from the point at | 812 // Request the distance to the nearest find result in a frame from the point at |
| 807 // (x, y), defined in fractions of the content document's width and height. The | 813 // (x, y), defined in fractions of the content document's width and height. The |
| 808 // distance will be returned via FrameHostMsg_GetNearestFindResult_Reply. Note | 814 // distance will be returned via FrameHostMsg_GetNearestFindResult_Reply. Note |
| 809 // that |nfr_request_id| is a completely seperate ID from the |request_id| used | 815 // that |nfr_request_id| is a completely seperate ID from the |request_id| used |
| 810 // in other find-related IPCs. It is specifically used to uniquely identify a | 816 // in other find-related IPCs. It is specifically used to uniquely identify a |
| 811 // nearest find result request, rather than a find request. | 817 // nearest find result request, rather than a find request. |
| 812 IPC_MESSAGE_ROUTED3(FrameMsg_GetNearestFindResult, | 818 IPC_MESSAGE_ROUTED3(FrameMsg_GetNearestFindResult, |
| 813 int /* nfr_request_id */, | 819 int /* nfr_request_id */, |
| 814 float /* x */, | 820 float /* x */, |
| (...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1565 // nearest find result in the sending frame. | 1571 // nearest find result in the sending frame. |
| 1566 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1572 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1567 int /* nfr_request_id */, | 1573 int /* nfr_request_id */, |
| 1568 float /* distance */) | 1574 float /* distance */) |
| 1569 #endif | 1575 #endif |
| 1570 | 1576 |
| 1571 // Adding a new message? Stick to the sort order above: first platform | 1577 // Adding a new message? Stick to the sort order above: first platform |
| 1572 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1578 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1573 // platform independent FrameHostMsg, then ifdefs for platform specific | 1579 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1574 // FrameHostMsg. | 1580 // FrameHostMsg. |
| OLD | NEW |