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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 // Dispatch a load event in the iframe element containing this frame. | 528 // Dispatch a load event in the iframe element containing this frame. |
529 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 529 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
530 | 530 |
531 // Notifies the frame that its parent has changed the frame's sandbox flags. | 531 // Notifies the frame that its parent has changed the frame's sandbox flags. |
532 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, content::SandboxFlags) | 532 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, content::SandboxFlags) |
533 | 533 |
534 // Update a proxy's window.name property. Used when the frame's name is | 534 // Update a proxy's window.name property. Used when the frame's name is |
535 // changed in another process. | 535 // changed in another process. |
536 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) | 536 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) |
537 | 537 |
| 538 // Update a proxy's replicated origin. Used when the frame is navigated to a |
| 539 // new origin. |
| 540 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) |
| 541 |
538 // Send to the RenderFrame to set text track style settings. | 542 // Send to the RenderFrame to set text track style settings. |
539 // Sent for top-level frames. | 543 // Sent for top-level frames. |
540 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, | 544 IPC_MESSAGE_ROUTED1(FrameMsg_SetTextTrackSettings, |
541 FrameMsg_TextTrackSettings_Params /* params */) | 545 FrameMsg_TextTrackSettings_Params /* params */) |
542 | 546 |
543 // Posts a message from a frame in another process to the current renderer. | 547 // Posts a message from a frame in another process to the current renderer. |
544 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) | 548 IPC_MESSAGE_ROUTED1(FrameMsg_PostMessageEvent, FrameMsg_PostMessage_Params) |
545 | 549 |
546 #if defined(OS_ANDROID) | 550 #if defined(OS_ANDROID) |
547 | 551 |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 FrameMsg_PostMessage_Params) | 907 FrameMsg_PostMessage_Params) |
904 | 908 |
905 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 909 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
906 | 910 |
907 // Message to show/hide a popup menu using native controls. | 911 // Message to show/hide a popup menu using native controls. |
908 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 912 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
909 FrameHostMsg_ShowPopup_Params) | 913 FrameHostMsg_ShowPopup_Params) |
910 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 914 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
911 | 915 |
912 #endif | 916 #endif |
OLD | NEW |