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 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 std::string /* new encoding name */) | 1153 std::string /* new encoding name */) |
1154 | 1154 |
1155 // Following message is used to communicate the values received by the | 1155 // Following message is used to communicate the values received by the |
1156 // callback binding the JS to Cpp. | 1156 // callback binding the JS to Cpp. |
1157 // An instance of browser that has an automation host listening to it can | 1157 // An instance of browser that has an automation host listening to it can |
1158 // have a javascript send a native value (string, number, boolean) to the | 1158 // have a javascript send a native value (string, number, boolean) to the |
1159 // listener in Cpp. (DomAutomationController) | 1159 // listener in Cpp. (DomAutomationController) |
1160 IPC_MESSAGE_ROUTED1(FrameHostMsg_DomOperationResponse, | 1160 IPC_MESSAGE_ROUTED1(FrameHostMsg_DomOperationResponse, |
1161 std::string /* json_string */) | 1161 std::string /* json_string */) |
1162 | 1162 |
1163 // Used to get cookies for the given URL. This may block waiting for a | |
1164 // previous SetCookie message to be processed. | |
1165 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_GetCookies, | |
1166 int /* render_frame_id */, | |
1167 GURL /* url */, | |
1168 GURL /* first_party_for_cookies */, | |
1169 std::string /* cookies */) | |
1170 | |
1171 // Used to check if cookies are enabled for the given URL. This may block | 1163 // Used to check if cookies are enabled for the given URL. This may block |
1172 // waiting for a previous SetCookie message to be processed. | 1164 // waiting for a previous SetCookie message to be processed. |
1173 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_CookiesEnabled, | 1165 IPC_SYNC_MESSAGE_CONTROL3_1(FrameHostMsg_CookiesEnabled, |
1174 int /* render_frame_id */, | 1166 int /* render_frame_id */, |
1175 GURL /* url */, | 1167 GURL /* url */, |
1176 GURL /* first_party_for_cookies */, | 1168 GURL /* first_party_for_cookies */, |
1177 bool /* cookies_enabled */) | 1169 bool /* cookies_enabled */) |
1178 | 1170 |
1179 // Sent by the renderer process to check whether client 3D APIs | 1171 // Sent by the renderer process to check whether client 3D APIs |
1180 // (Pepper 3D, WebGL) are explicitly blocked. | 1172 // (Pepper 3D, WebGL) are explicitly blocked. |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 // nearest find result in the sending frame. | 1564 // nearest find result in the sending frame. |
1573 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1565 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1574 int /* nfr_request_id */, | 1566 int /* nfr_request_id */, |
1575 float /* distance */) | 1567 float /* distance */) |
1576 #endif | 1568 #endif |
1577 | 1569 |
1578 // Adding a new message? Stick to the sort order above: first platform | 1570 // Adding a new message? Stick to the sort order above: first platform |
1579 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1571 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1580 // platform independent FrameHostMsg, then ifdefs for platform specific | 1572 // platform independent FrameHostMsg, then ifdefs for platform specific |
1581 // FrameHostMsg. | 1573 // FrameHostMsg. |
OLD | NEW |