| 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 // ScopedPageLoadDeferrer is on the stack for SwapOut. | 911 // ScopedPageLoadDeferrer is on the stack for SwapOut. |
| 912 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) | 912 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) |
| 913 | 913 |
| 914 // Tells the frame to consider itself to have received a user gesture (based | 914 // Tells the frame to consider itself to have received a user gesture (based |
| 915 // on a user gesture proceed by a descendant). | 915 // on a user gesture proceed by a descendant). |
| 916 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) | 916 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) |
| 917 | 917 |
| 918 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, | 918 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, |
| 919 std::vector<content::FileChooserFileInfo>) | 919 std::vector<content::FileChooserFileInfo>) |
| 920 | 920 |
| 921 // Updates the renderer about mixed content checks executed in the browser. |
| 922 // |feature| lists all unique IDs for mixed content feature used while checking |
| 923 // for mixed content the associated frame load. |
| 924 // Note: if we ever need to report other non-mixed content features it might be |
| 925 // better move this member into another IPC/struct specific for that. |
| 926 // The |mixed_content_*| members are used to report found mixed content to the |
| 927 // CSP policy. If |mixed_content_was_found| is true the following members will |
| 928 // contain related information. Otherwise they should be ignored. |
| 929 IPC_MESSAGE_ROUTED4(FrameMsg_MixedContentUpdate, |
| 930 std::set<int>, /* features */ |
| 931 bool, /* mixed_content_was_found */ |
| 932 GURL, /* mixed_content_url */ |
| 933 bool) /* mixed_content_had_redirect */ |
| 934 |
| 921 // ----------------------------------------------------------------------------- | 935 // ----------------------------------------------------------------------------- |
| 922 // Messages sent from the renderer to the browser. | 936 // Messages sent from the renderer to the browser. |
| 923 | 937 |
| 924 // Blink and JavaScript error messages to log to the console | 938 // Blink and JavaScript error messages to log to the console |
| 925 // or debugger UI. | 939 // or debugger UI. |
| 926 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, | 940 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, |
| 927 int32_t, /* log level */ | 941 int32_t, /* log level */ |
| 928 base::string16, /* msg */ | 942 base::string16, /* msg */ |
| 929 int32_t, /* line number */ | 943 int32_t, /* line number */ |
| 930 base::string16 /* source id */) | 944 base::string16 /* source id */) |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1516 // nearest find result in the sending frame. | 1530 // nearest find result in the sending frame. |
| 1517 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1531 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1518 int /* nfr_request_id */, | 1532 int /* nfr_request_id */, |
| 1519 float /* distance */) | 1533 float /* distance */) |
| 1520 #endif | 1534 #endif |
| 1521 | 1535 |
| 1522 // Adding a new message? Stick to the sort order above: first platform | 1536 // Adding a new message? Stick to the sort order above: first platform |
| 1523 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1537 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1524 // platform independent FrameHostMsg, then ifdefs for platform specific | 1538 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1525 // FrameHostMsg. | 1539 // FrameHostMsg. |
| OLD | NEW |