Chromium Code Reviews| 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 644 // Dispatch a load event in the iframe element containing this frame. | 644 // Dispatch a load event in the iframe element containing this frame. |
| 645 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 645 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
| 646 | 646 |
| 647 // Notifies the frame that its parent has changed the frame's sandbox flags. | 647 // Notifies the frame that its parent has changed the frame's sandbox flags. |
| 648 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) | 648 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) |
| 649 | 649 |
| 650 // Update a proxy's window.name property. Used when the frame's name is | 650 // Update a proxy's window.name property. Used when the frame's name is |
| 651 // changed in another process. | 651 // changed in another process. |
| 652 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) | 652 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */) |
| 653 | 653 |
| 654 // Update a proxy's replicated enforcement of strict mixed content | |
| 655 // checking. Used when the frame's mixed content setting is changed in | |
| 656 // another process. | |
| 657 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateShouldEnforceStrictMixedContentChecking, | |
| 658 bool /* should enforce */) | |
| 659 | |
| 654 // Update a proxy's replicated origin. Used when the frame is navigated to a | 660 // Update a proxy's replicated origin. Used when the frame is navigated to a |
| 655 // new origin. | 661 // new origin. |
| 656 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) | 662 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */) |
| 657 | 663 |
| 658 // Notifies this frame or proxy that it is now focused. This is used to | 664 // Notifies this frame or proxy that it is now focused. This is used to |
| 659 // support cross-process focused frame changes. | 665 // support cross-process focused frame changes. |
| 660 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) | 666 IPC_MESSAGE_ROUTED0(FrameMsg_SetFocusedFrame) |
| 661 | 667 |
| 662 // Send to the RenderFrame to set text tracks state and style settings. | 668 // Send to the RenderFrame to set text tracks state and style settings. |
| 663 // Sent for top-level frames. | 669 // Sent for top-level frames. |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 793 | 799 |
| 794 // Sent when the renderer is done loading a page. | 800 // Sent when the renderer is done loading a page. |
| 795 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 801 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
| 796 | 802 |
| 797 // Notifies the browser that this frame has new session history information. | 803 // Notifies the browser that this frame has new session history information. |
| 798 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) | 804 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) |
| 799 | 805 |
| 800 // Sent when the frame changes its window.name. | 806 // Sent when the frame changes its window.name. |
| 801 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) | 807 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */) |
| 802 | 808 |
| 809 // Sent when the frame changes its enforcement of strict mixed content checking. | |
| 810 IPC_MESSAGE_ROUTED1( | |
| 811 FrameHostMsg_DidChangeShouldEnforceStrictMixedContentChecking, | |
|
alexmos
2015/12/03 20:43:26
Can this flag change dynamically while the Documen
estark
2015/12/04 00:19:31
It can change dynamically. (For example, if a <met
alexmos
2015/12/04 23:41:11
Acknowledged.
| |
| 812 bool /* should enforce */) | |
| 813 | |
| 803 // Sent when the renderer changed the progress of a load. | 814 // Sent when the renderer changed the progress of a load. |
| 804 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, | 815 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress, |
| 805 double /* load_progress */) | 816 double /* load_progress */) |
| 806 | 817 |
| 807 // Requests that the given URL be opened in the specified manner. | 818 // Requests that the given URL be opened in the specified manner. |
| 808 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) | 819 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) |
| 809 | 820 |
| 810 // Notifies the browser that a frame finished loading. | 821 // Notifies the browser that a frame finished loading. |
| 811 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, | 822 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, |
| 812 GURL /* validated_url */) | 823 GURL /* validated_url */) |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1238 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1249 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1239 FrameHostMsg_ShowPopup_Params) | 1250 FrameHostMsg_ShowPopup_Params) |
| 1240 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1251 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1241 | 1252 |
| 1242 #endif | 1253 #endif |
| 1243 | 1254 |
| 1244 // Adding a new message? Stick to the sort order above: first platform | 1255 // Adding a new message? Stick to the sort order above: first platform |
| 1245 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1256 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1246 // platform independent FrameHostMsg, then ifdefs for platform specific | 1257 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1247 // FrameHostMsg. | 1258 // FrameHostMsg. |
| OLD | NEW |