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 "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
647 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) | 647 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) |
648 | 648 |
649 // Update a proxy's window.name property. Used when the frame's name is | 649 // Update a proxy's window.name property. Used when the frame's name is |
650 // changed in another process. | 650 // changed in another process. |
651 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) | 651 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) |
652 | 652 |
653 // Update a proxy's replicated origin. Used when the frame is navigated to a | 653 // Update a proxy's replicated origin. Used when the frame is navigated to a |
654 // new origin. | 654 // new origin. |
655 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) | 655 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) |
656 | 656 |
657 // Notifies this frame that it lost focus to a frame in another process. | 657 // Notifies this frame or proxy that it is now focused. This is used to |
658 IPC_MESSAGE_ROUTED0(FrameMsg_ClearFocus) | 658 // support cross-process focused frame changes. |
659 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame); | |
alexmos
2015/11/04 21:53:59
Currently, this is only called on proxies, but in
Charlie Reis
2015/11/04 22:23:42
Acknowledged.
| |
659 | 660 |
660 // Send to the RenderFrame to set text tracks state and style settings. | 661 // Send to the RenderFrame to set text tracks state and style settings. |
661 // Sent for top-level frames. | 662 // Sent for top-level frames. |
662 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, | 663 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
663 FrameMsg_TextTrackSettings_Params /* params */) | 664 FrameMsg_TextTrackSettings_Params /* params */) |
664 | 665 |
665 // Posts a message from a frame in another process to the current renderer. | 666 // Posts a message from a frame in another process to the current renderer. |
666 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) | 667 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) |
667 | 668 |
668 #if defined(OS_ANDROID) | 669 #if defined(OS_ANDROID) |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1232 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1233 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1233 FrameHostMsg_ShowPopup_Params) | 1234 FrameHostMsg_ShowPopup_Params) |
1234 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1235 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1235 | 1236 |
1236 #endif | 1237 #endif |
1237 | 1238 |
1238 // Adding a new message? Stick to the sort order above: first platform | 1239 // Adding a new message? Stick to the sort order above: first platform |
1239 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1240 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1240 // platform independent FrameHostMsg, then ifdefs for platform specific | 1241 // platform independent FrameHostMsg, then ifdefs for platform specific |
1241 // FrameHostMsg. | 1242 // FrameHostMsg. |
OLD | NEW |