| 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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1377 | 1377 |
| 1378 // Sent when the renderer displays insecure content in a secure page. | 1378 // Sent when the renderer displays insecure content in a secure page. |
| 1379 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) | 1379 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) |
| 1380 | 1380 |
| 1381 // Sent when the renderer runs insecure content in a secure origin. | 1381 // Sent when the renderer runs insecure content in a secure origin. |
| 1382 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, | 1382 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent, |
| 1383 std::string /* security_origin */, | 1383 std::string /* security_origin */, |
| 1384 GURL /* target URL */) | 1384 GURL /* target URL */) |
| 1385 | 1385 |
| 1386 // Sent when the renderer starts a provisional load for a frame. | 1386 // Sent when the renderer starts a provisional load for a frame. |
| 1387 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame, | 1387 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidStartProvisionalLoadForFrame, |
| 1388 int64 /* frame_id */, | 1388 int64 /* frame_id */, |
| 1389 bool /* true if it is the main frame */, | 1389 bool /* true if it is the main frame */, |
| 1390 bool /* true if the frame has an opener set */, |
| 1390 GURL /* url */) | 1391 GURL /* url */) |
| 1391 | 1392 |
| 1392 // Sent when the renderer fails a provisional load with an error. | 1393 // Sent when the renderer fails a provisional load with an error. |
| 1393 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, | 1394 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, |
| 1394 int64 /* frame_id */, | 1395 int64 /* frame_id */, |
| 1395 bool /* true if it is the main frame */, | 1396 bool /* true if it is the main frame */, |
| 1396 int /* error_code */, | 1397 int /* error_code */, |
| 1397 GURL /* url */, | 1398 GURL /* url */, |
| 1398 bool /* true if the failure is the result of | 1399 bool /* true if the failure is the result of |
| 1399 navigating to a POST again and we're going to | 1400 navigating to a POST again and we're going to |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1734 | 1735 |
| 1735 // Sent when the renderer process is done processing a DataReceived | 1736 // Sent when the renderer process is done processing a DataReceived |
| 1736 // message. | 1737 // message. |
| 1737 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, | 1738 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
| 1738 int /* request_id */) | 1739 int /* request_id */) |
| 1739 | 1740 |
| 1740 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, | 1741 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, |
| 1741 FilePath /* path */) | 1742 FilePath /* path */) |
| 1742 | 1743 |
| 1743 // Sent when a provisional load on the main frame redirects. | 1744 // Sent when a provisional load on the main frame redirects. |
| 1744 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, | 1745 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidRedirectProvisionalLoad, |
| 1745 int /* page_id */, | 1746 int /* page_id */, |
| 1747 bool /* true if the frame has an opener set */, |
| 1746 GURL /* last url */, | 1748 GURL /* last url */, |
| 1747 GURL /* url redirected to */) | 1749 GURL /* url redirected to */) |
| 1748 | 1750 |
| 1749 // Sent when the renderer changes the zoom level for a particular url, so the | 1751 // Sent when the renderer changes the zoom level for a particular url, so the |
| 1750 // browser can update its records. If remember is true, then url is used to | 1752 // browser can update its records. If remember is true, then url is used to |
| 1751 // update the zoom level for all pages in that site. Otherwise, the render | 1753 // update the zoom level for all pages in that site. Otherwise, the render |
| 1752 // view's id is used so that only the menu is updated. | 1754 // view's id is used so that only the menu is updated. |
| 1753 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, | 1755 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidZoomURL, |
| 1754 double /* zoom_level */, | 1756 double /* zoom_level */, |
| 1755 bool /* remember */, | 1757 bool /* remember */, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1952 | 1954 |
| 1953 // Stores new inspector setting in the profile. | 1955 // Stores new inspector setting in the profile. |
| 1954 // TODO(jam): this should be in the chrome module | 1956 // TODO(jam): this should be in the chrome module |
| 1955 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1957 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
| 1956 std::string, /* key */ | 1958 std::string, /* key */ |
| 1957 std::string /* value */) | 1959 std::string /* value */) |
| 1958 | 1960 |
| 1959 // Send back a string to be recorded by UserMetrics. | 1961 // Send back a string to be recorded by UserMetrics. |
| 1960 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1962 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 1961 std::string /* action */) | 1963 std::string /* action */) |
| OLD | NEW |