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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 842 | 842 |
| 843 // Indicates the renderer process is gone. This actually is sent by the | 843 // Indicates the renderer process is gone. This actually is sent by the |
| 844 // browser process to itself, but keeps the interface cleaner. | 844 // browser process to itself, but keeps the interface cleaner. |
| 845 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, | 845 IPC_MESSAGE_ROUTED2(FrameHostMsg_RenderProcessGone, |
| 846 int, /* this really is base::TerminationStatus */ | 846 int, /* this really is base::TerminationStatus */ |
| 847 int /* exit_code */) | 847 int /* exit_code */) |
| 848 | 848 |
| 849 // Sent by the renderer when the frame becomes focused. | 849 // Sent by the renderer when the frame becomes focused. |
| 850 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) | 850 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) |
| 851 | 851 |
| 852 // Sent by the renderer when the frame tries to display mixed content | |
| 853 // within another frame. | |
| 854 IPC_MESSAGE_ROUTED2(FrameHostMsg_TriedDisplayingInsecureContent, GURL, GURL) | |
|
alexmos
2016/01/09 01:39:02
nit: document what each parameter is.
| |
| 855 | |
| 856 // Sent by the renderer when the frame tries to run mixed content within | |
| 857 // another frame. | |
| 858 IPC_MESSAGE_ROUTED2(FrameHostMsg_TriedRunningInsecureContent, GURL, GURL) | |
| 859 | |
| 852 // Sent when the renderer starts a provisional load for a frame. | 860 // Sent when the renderer starts a provisional load for a frame. |
| 853 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad, | 861 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoad, |
| 854 GURL /* url */, | 862 GURL /* url */, |
| 855 base::TimeTicks /* navigation_start */) | 863 base::TimeTicks /* navigation_start */) |
| 856 | 864 |
| 857 // Sent when the renderer fails a provisional load with an error. | 865 // Sent when the renderer fails a provisional load with an error. |
| 858 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, | 866 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, |
| 859 FrameHostMsg_DidFailProvisionalLoadWithError_Params) | 867 FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
| 860 | 868 |
| 861 // Notifies the browser that a frame in the view has changed. This message | 869 // Notifies the browser that a frame in the view has changed. This message |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1364 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1372 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1365 FrameHostMsg_ShowPopup_Params) | 1373 FrameHostMsg_ShowPopup_Params) |
| 1366 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1374 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1367 | 1375 |
| 1368 #endif | 1376 #endif |
| 1369 | 1377 |
| 1370 // Adding a new message? Stick to the sort order above: first platform | 1378 // Adding a new message? Stick to the sort order above: first platform |
| 1371 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1379 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1372 // platform independent FrameHostMsg, then ifdefs for platform specific | 1380 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1373 // FrameHostMsg. | 1381 // FrameHostMsg. |
| OLD | NEW |