| 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 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 | 1383 |
| 1384 // Sent when the renderer displays insecure content in a secure page. | 1384 // Sent when the renderer displays insecure content in a secure page. |
| 1385 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) | 1385 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) |
| 1386 | 1386 |
| 1387 // Sent when the renderer runs insecure content in a secure origin. | 1387 // Sent when the renderer runs insecure content in a secure origin. |
| 1388 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1388 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
| 1389 std::string /* security_origin */, | 1389 std::string /* security_origin */, |
| 1390 GURL /* target URL */) | 1390 GURL /* target URL */) |
| 1391 | 1391 |
| 1392 // Sent when the renderer starts a provisional load for a frame. | 1392 // Sent when the renderer starts a provisional load for a frame. |
| 1393 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame, | 1393 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidStartProvisionalLoadForFrame, |
| 1394 int64 /* frame_id */, | 1394 int64 /* frame_id */, |
| 1395 bool /* true if it is the main frame */, | 1395 bool /* true if it is the main frame */, |
| 1396 bool /* true if the frame has an opener set */, |
| 1396 GURL /* url */) | 1397 GURL /* url */) |
| 1397 | 1398 |
| 1398 // Sent when the renderer fails a provisional load with an error. | 1399 // Sent when the renderer fails a provisional load with an error. |
| 1399 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, | 1400 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, |
| 1400 int64 /* frame_id */, | 1401 int64 /* frame_id */, |
| 1401 bool /* true if it is the main frame */, | 1402 bool /* true if it is the main frame */, |
| 1402 int /* error_code */, | 1403 int /* error_code */, |
| 1403 GURL /* url */, | 1404 GURL /* url */, |
| 1404 bool /* true if the failure is the result of | 1405 bool /* true if the failure is the result of |
| 1405 navigating to a POST again and we're going to | 1406 navigating to a POST again and we're going to |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1722 | 1723 |
| 1723 // Sent when the renderer process is done processing a DataReceived | 1724 // Sent when the renderer process is done processing a DataReceived |
| 1724 // message. | 1725 // message. |
| 1725 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, | 1726 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
| 1726 int /* request_id */) | 1727 int /* request_id */) |
| 1727 | 1728 |
| 1728 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, | 1729 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, |
| 1729 FilePath /* path */) | 1730 FilePath /* path */) |
| 1730 | 1731 |
| 1731 // Sent when a provisional load on the main frame redirects. | 1732 // Sent when a provisional load on the main frame redirects. |
| 1732 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, | 1733 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidRedirectProvisionalLoad, |
| 1733 int /* page_id */, | 1734 int /* page_id */, |
| 1735 bool /* true if the frame has an opener set */, |
| 1734 GURL /* last url */, | 1736 GURL /* last url */, |
| 1735 GURL /* url redirected to */) | 1737 GURL /* url redirected to */) |
| 1736 | 1738 |
| 1737 // Sent when the renderer changes the zoom level for a particular url, so the | 1739 // Sent when the renderer changes the zoom level for a particular url, so the |
| 1738 // browser can update its records. If remember is true, then url is used to | 1740 // browser can update its records. If remember is true, then url is used to |
| 1739 // update the zoom level for all pages in that site. Otherwise, the render | 1741 // update the zoom level for all pages in that site. Otherwise, the render |
| 1740 // view's id is used so that only the menu is updated. | 1742 // view's id is used so that only the menu is updated. |
| 1741 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, | 1743 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, |
| 1742 double /* zoom_level */, | 1744 double /* zoom_level */, |
| 1743 bool /* remember */, | 1745 bool /* remember */, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1940 | 1942 |
| 1941 // Stores new inspector setting in the profile. | 1943 // Stores new inspector setting in the profile. |
| 1942 // TODO(jam): this should be in the chrome module | 1944 // TODO(jam): this should be in the chrome module |
| 1943 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1945 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
| 1944 std::string, /* key */ | 1946 std::string, /* key */ |
| 1945 std::string /* value */) | 1947 std::string /* value */) |
| 1946 | 1948 |
| 1947 // Send back a string to be recorded by UserMetrics. | 1949 // Send back a string to be recorded by UserMetrics. |
| 1948 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1950 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 1949 std::string /* action */) | 1951 std::string /* action */) |
| OLD | NEW |