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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1647 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1647 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
1648 std::vector<GURL> /* all savable resource links */, | 1648 std::vector<GURL> /* all savable resource links */, |
1649 std::vector<GURL> /* all referrers of resource links */, | 1649 std::vector<GURL> /* all referrers of resource links */, |
1650 std::vector<GURL> /* all frame links */) | 1650 std::vector<GURL> /* all frame links */) |
1651 | 1651 |
1652 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 1652 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
1653 GURL /* frame's url */, | 1653 GURL /* frame's url */, |
1654 std::string /* data buffer */, | 1654 std::string /* data buffer */, |
1655 int32 /* complete status */) | 1655 int32 /* complete status */) |
1656 | 1656 |
1657 IPC_SYNC_MESSAGE_ROUTED4_1(ViewHostMsg_ShowModalHTMLDialog, | |
1658 GURL /* url */, | |
1659 int /* width */, | |
1660 int /* height */, | |
1661 std::string /* json_arguments */, | |
1662 std::string /* json_retval */) | |
1663 | |
1664 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidGetApplicationInfo, | 1657 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidGetApplicationInfo, |
1665 int32 /* page_id */, | 1658 int32 /* page_id */, |
1666 WebApplicationInfo) | 1659 WebApplicationInfo) |
1667 | 1660 |
1668 // Sent by the renderer to implement chrome.app.installApplication(). | 1661 // Sent by the renderer to implement chrome.app.installApplication(). |
1669 IPC_MESSAGE_ROUTED1(ViewHostMsg_InstallApplication, | 1662 IPC_MESSAGE_ROUTED1(ViewHostMsg_InstallApplication, |
1670 WebApplicationInfo) | 1663 WebApplicationInfo) |
1671 | 1664 |
1672 // Provides the result from running OnMsgShouldClose. |proceed| matches the | 1665 // Provides the result from running OnMsgShouldClose. |proceed| matches the |
1673 // return value of the the frame's shouldClose method (which includes the | 1666 // return value of the the frame's shouldClose method (which includes the |
1674 // onbeforeunload handler): true if the user decided to proceed with leaving | 1667 // onbeforeunload handler): true if the user decided to proceed with leaving |
1675 // the page. | 1668 // the page. |
1676 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShouldClose_ACK, | 1669 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShouldClose_ACK, |
1677 bool /* proceed */) | 1670 bool /* proceed */) |
1678 | 1671 |
1679 // Indicates that the current page has been closed, after a ClosePage | 1672 // Indicates that the current page has been closed, after a ClosePage |
1680 // message. The parameters are just echoed from the ClosePage request. | 1673 // message. The parameters are just echoed from the ClosePage request. |
1681 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, | 1674 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, |
1682 ViewMsg_ClosePage_Params) | 1675 ViewMsg_ClosePage_Params) |
1683 | 1676 |
1684 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, | 1677 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, |
1685 int /* Identifier of the request */, | 1678 int /* Identifier of the request */, |
1686 GURL /* URL of the image */, | 1679 GURL /* URL of the image */, |
1687 bool /* true if there was a network error */, | 1680 bool /* true if there was a network error */, |
1688 SkBitmap /* image_data */) | 1681 SkBitmap /* image_data */) |
1689 | 1682 |
1690 // Get the CPBrowsingContext associated with the renderer sending this | 1683 // Sent when the renderer process is done processing a DataReceived |
1691 // message. | 1684 // message. |
1692 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPBrowsingContext, | 1685 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
1693 uint32 /* context */) | 1686 int /* request_id */) |
1694 | 1687 |
1695 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, | 1688 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, |
1696 FilePath /* path */) | 1689 FilePath /* path */) |
1697 | 1690 |
1698 // Sent when a provisional load on the main frame redirects. | 1691 // Sent when a provisional load on the main frame redirects. |
1699 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, | 1692 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidRedirectProvisionalLoad, |
1700 int /* page_id */, | 1693 int /* page_id */, |
1701 GURL /* last url */, | 1694 GURL /* last url */, |
1702 GURL /* url redirected to */) | 1695 GURL /* url redirected to */) |
1703 | 1696 |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2246 // while performing stress testing. | 2239 // while performing stress testing. |
2247 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2240 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2248 int /* cmd */, | 2241 int /* cmd */, |
2249 int /* param */) | 2242 int /* param */) |
2250 | 2243 |
2251 // Register a new handler for URL requests with the given scheme. | 2244 // Register a new handler for URL requests with the given scheme. |
2252 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2245 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2253 std::string /* scheme */, | 2246 std::string /* scheme */, |
2254 GURL /* url */, | 2247 GURL /* url */, |
2255 string16 /* title */) | 2248 string16 /* title */) |
OLD | NEW |