| 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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 // Update a proxy's replicated origin. Used when the frame is navigated to a | 781 // Update a proxy's replicated origin. Used when the frame is navigated to a |
| 782 // new origin. | 782 // new origin. |
| 783 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin, | 783 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateOrigin, |
| 784 url::Origin /* origin */, | 784 url::Origin /* origin */, |
| 785 bool /* is potentially trustworthy unique origin */) | 785 bool /* is potentially trustworthy unique origin */) |
| 786 | 786 |
| 787 // Notifies this frame or proxy that it is now focused. This is used to | 787 // Notifies this frame or proxy that it is now focused. This is used to |
| 788 // support cross-process focused frame changes. | 788 // support cross-process focused frame changes. |
| 789 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) | 789 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) |
| 790 | 790 |
| 791 // Notifies this frame or proxy that it is no longer focused. This is used when |
| 792 // a frame in the embedder that the guest cannot see (<webview>) gains focus. |
| 793 IPC_MESSAGE_ROUTED0(FrameMsg_UnsetFocusedFrame) |
| 794 |
| 791 // Send to the RenderFrame to set text tracks state and style settings. | 795 // Send to the RenderFrame to set text tracks state and style settings. |
| 792 // Sent for top-level frames. | 796 // Sent for top-level frames. |
| 793 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, | 797 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
| 794 FrameMsg_TextTrackSettings_Params /* params */) | 798 FrameMsg_TextTrackSettings_Params /* params */) |
| 795 | 799 |
| 796 // Posts a message from a frame in another process to the current renderer. | 800 // Posts a message from a frame in another process to the current renderer. |
| 797 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) | 801 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) |
| 798 | 802 |
| 799 #if defined(OS_ANDROID) | 803 #if defined(OS_ANDROID) |
| 800 // Sent when the browser wants the bounding boxes of the current find matches. | 804 // Sent when the browser wants the bounding boxes of the current find matches. |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1450 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
| 1447 int /* version */, | 1451 int /* version */, |
| 1448 std::vector<gfx::RectF> /* rects */, | 1452 std::vector<gfx::RectF> /* rects */, |
| 1449 gfx::RectF /* active_rect */) | 1453 gfx::RectF /* active_rect */) |
| 1450 #endif | 1454 #endif |
| 1451 | 1455 |
| 1452 // Adding a new message? Stick to the sort order above: first platform | 1456 // Adding a new message? Stick to the sort order above: first platform |
| 1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1457 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1454 // platform independent FrameHostMsg, then ifdefs for platform specific | 1458 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1455 // FrameHostMsg. | 1459 // FrameHostMsg. |
| OLD | NEW |