OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1379 | 1379 |
1380 // Sent when the renderer displays insecure content in a secure page. | 1380 // Sent when the renderer displays insecure content in a secure page. |
1381 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) | 1381 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) |
1382 | 1382 |
1383 // Sent when the renderer runs insecure content in a secure origin. | 1383 // Sent when the renderer runs insecure content in a secure origin. |
1384 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1384 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
1385 std::string /* security_origin */, | 1385 std::string /* security_origin */, |
1386 GURL /* target URL */) | 1386 GURL /* target URL */) |
1387 | 1387 |
1388 // Sent when the renderer starts a provisional load for a frame. | 1388 // Sent when the renderer starts a provisional load for a frame. |
1389 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame, | 1389 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidStartProvisionalLoadForFrame, |
1390 int64 /* frame_id */, | 1390 int64 /* frame_id */, |
1391 bool /* true if it is the main frame */, | 1391 bool /* true if it is the main frame */, |
| 1392 bool /* true if the frame has an opener set */, |
1392 GURL /* url */) | 1393 GURL /* url */) |
1393 | 1394 |
1394 // Sent when the renderer fails a provisional load with an error. | 1395 // Sent when the renderer fails a provisional load with an error. |
1395 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, | 1396 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, |
1396 int64 /* frame_id */, | 1397 int64 /* frame_id */, |
1397 bool /* true if it is the main frame */, | 1398 bool /* true if it is the main frame */, |
1398 int /* error_code */, | 1399 int /* error_code */, |
1399 GURL /* url */, | 1400 GURL /* url */, |
1400 bool /* true if the failure is the result of | 1401 bool /* true if the failure is the result of |
1401 navigating to a POST again and we're going to | 1402 navigating to a POST again and we're going to |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 | 1719 |
1719 // Sent when the renderer process is done processing a DataReceived | 1720 // Sent when the renderer process is done processing a DataReceived |
1720 // message. | 1721 // message. |
1721 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, | 1722 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
1722 int /* request_id */) | 1723 int /* request_id */) |
1723 | 1724 |
1724 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, | 1725 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, |
1725 FilePath /* path */) | 1726 FilePath /* path */) |
1726 | 1727 |
1727 // Sent when a provisional load on the main frame redirects. | 1728 // Sent when a provisional load on the main frame redirects. |
1728 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, | 1729 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidRedirectProvisionalLoad, |
1729 int /* page_id */, | 1730 int /* page_id */, |
| 1731 bool /* true if the frame has an opener set */, |
1730 GURL /* last url */, | 1732 GURL /* last url */, |
1731 GURL /* url redirected to */) | 1733 GURL /* url redirected to */) |
1732 | 1734 |
1733 // Sent when the renderer changes the zoom level for a particular url, so the | 1735 // Sent when the renderer changes the zoom level for a particular url, so the |
1734 // browser can update its records. If remember is true, then url is used to | 1736 // browser can update its records. If remember is true, then url is used to |
1735 // update the zoom level for all pages in that site. Otherwise, the render | 1737 // update the zoom level for all pages in that site. Otherwise, the render |
1736 // view's id is used so that only the menu is updated. | 1738 // view's id is used so that only the menu is updated. |
1737 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, | 1739 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, |
1738 double /* zoom_level */, | 1740 double /* zoom_level */, |
1739 bool /* remember */, | 1741 bool /* remember */, |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1936 | 1938 |
1937 // Stores new inspector setting in the profile. | 1939 // Stores new inspector setting in the profile. |
1938 // TODO(jam): this should be in the chrome module | 1940 // TODO(jam): this should be in the chrome module |
1939 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1941 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
1940 std::string, /* key */ | 1942 std::string, /* key */ |
1941 std::string /* value */) | 1943 std::string /* value */) |
1942 | 1944 |
1943 // Send back a string to be recorded by UserMetrics. | 1945 // Send back a string to be recorded by UserMetrics. |
1944 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1946 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1945 std::string /* action */) | 1947 std::string /* action */) |
OLD | NEW |