| 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 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 // Update a proxy's replicated origin. Used when the frame is navigated to a | 800 // Update a proxy's replicated origin. Used when the frame is navigated to a |
| 801 // new origin. | 801 // new origin. |
| 802 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin, | 802 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin, |
| 803 url::Origin /* origin */, | 803 url::Origin /* origin */, |
| 804 bool /* is potentially trustworthy unique origin */) | 804 bool /* is potentially trustworthy unique origin */) |
| 805 | 805 |
| 806 // Notifies this frame or proxy that it is now focused. This is used to | 806 // Notifies this frame or proxy that it is now focused. This is used to |
| 807 // support cross-process focused frame changes. | 807 // support cross-process focused frame changes. |
| 808 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) | 808 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) |
| 809 | 809 |
| 810 // Notifies this frame or proxy that it is no longer focused. This is used when |
| 811 // a frame in the embedder that the guest cannot see (<webview>) gains focus. |
| 812 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocusedFrame) |
| 813 |
| 810 // Sent to a frame proxy when its real frame is preparing to enter fullscreen | 814 // Sent to a frame proxy when its real frame is preparing to enter fullscreen |
| 811 // in another process. Actually entering fullscreen will be done separately as | 815 // in another process. Actually entering fullscreen will be done separately as |
| 812 // part of ViewMsg_Resize, once the browser process has resized the tab for | 816 // part of ViewMsg_Resize, once the browser process has resized the tab for |
| 813 // fullscreen. | 817 // fullscreen. |
| 814 IPC_MESSAGE_ROUTED0(FrameMsg_WillEnterFullscreen) | 818 IPC_MESSAGE_ROUTED0(FrameMsg_WillEnterFullscreen) |
| 815 | 819 |
| 816 // Send to the RenderFrame to set text tracks state and style settings. | 820 // Send to the RenderFrame to set text tracks state and style settings. |
| 817 // Sent for top-level frames. | 821 // Sent for top-level frames. |
| 818 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, | 822 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
| 819 FrameMsg_TextTrackSettings_Params /* params */) | 823 FrameMsg_TextTrackSettings_Params /* params */) |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1506 // nearest find result in the sending frame. | 1510 // nearest find result in the sending frame. |
| 1507 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1511 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1508 int /* nfr_request_id */, | 1512 int /* nfr_request_id */, |
| 1509 float /* distance */) | 1513 float /* distance */) |
| 1510 #endif | 1514 #endif |
| 1511 | 1515 |
| 1512 // Adding a new message? Stick to the sort order above: first platform | 1516 // Adding a new message? Stick to the sort order above: first platform |
| 1513 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1517 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1514 // platform independent FrameHostMsg, then ifdefs for platform specific | 1518 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1515 // FrameHostMsg. | 1519 // FrameHostMsg. |
| OLD | NEW |