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 1805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1816 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1816 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
1817 std::vector<GURL> /* all savable resource links */, | 1817 std::vector<GURL> /* all savable resource links */, |
1818 std::vector<GURL> /* all referrers of resource links */, | 1818 std::vector<GURL> /* all referrers of resource links */, |
1819 std::vector<GURL> /* all frame links */) | 1819 std::vector<GURL> /* all frame links */) |
1820 | 1820 |
1821 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 1821 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
1822 GURL /* frame's url */, | 1822 GURL /* frame's url */, |
1823 std::string /* data buffer */, | 1823 std::string /* data buffer */, |
1824 int32 /* complete status */) | 1824 int32 /* complete status */) |
1825 | 1825 |
1826 IPC_SYNC_MESSAGE_ROUTED4_1(ViewHostMsg_ShowModalHTMLDialog, | |
1827 GURL /* url */, | |
1828 int /* width */, | |
1829 int /* height */, | |
1830 std::string /* json_arguments */, | |
1831 std::string /* json_retval */) | |
1832 | |
1833 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidGetApplicationInfo, | 1826 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidGetApplicationInfo, |
1834 int32 /* page_id */, | 1827 int32 /* page_id */, |
1835 WebApplicationInfo) | 1828 WebApplicationInfo) |
1836 | 1829 |
1837 // Sent by the renderer to implement chrome.app.installApplication(). | 1830 // Sent by the renderer to implement chrome.app.installApplication(). |
1838 IPC_MESSAGE_ROUTED1(ViewHostMsg_InstallApplication, | 1831 IPC_MESSAGE_ROUTED1(ViewHostMsg_InstallApplication, |
1839 WebApplicationInfo) | 1832 WebApplicationInfo) |
1840 | 1833 |
1841 // Provides the result from running OnMsgShouldClose. |proceed| matches the | 1834 // Provides the result from running OnMsgShouldClose. |proceed| matches the |
1842 // return value of the the frame's shouldClose method (which includes the | 1835 // return value of the the frame's shouldClose method (which includes the |
1843 // onbeforeunload handler): true if the user decided to proceed with leaving | 1836 // onbeforeunload handler): true if the user decided to proceed with leaving |
1844 // the page. | 1837 // the page. |
1845 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShouldClose_ACK, | 1838 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShouldClose_ACK, |
1846 bool /* proceed */) | 1839 bool /* proceed */) |
1847 | 1840 |
1848 // Indicates that the current page has been closed, after a ClosePage | 1841 // Indicates that the current page has been closed, after a ClosePage |
1849 // message. The parameters are just echoed from the ClosePage request. | 1842 // message. The parameters are just echoed from the ClosePage request. |
1850 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, | 1843 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, |
1851 ViewMsg_ClosePage_Params) | 1844 ViewMsg_ClosePage_Params) |
1852 | 1845 |
1853 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, | 1846 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, |
1854 int /* Identifier of the request */, | 1847 int /* Identifier of the request */, |
1855 GURL /* URL of the image */, | 1848 GURL /* URL of the image */, |
1856 bool /* true if there was a network error */, | 1849 bool /* true if there was a network error */, |
1857 SkBitmap /* image_data */) | 1850 SkBitmap /* image_data */) |
1858 | 1851 |
1859 // Get the CPBrowsingContext associated with the renderer sending this | |
1860 // message. | |
1861 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPBrowsingContext, | |
1862 uint32 /* context */) | |
1863 | |
1864 // Sent when the renderer process is done processing a DataReceived | 1852 // Sent when the renderer process is done processing a DataReceived |
1865 // message. | 1853 // message. |
1866 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, | 1854 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
1867 int /* request_id */) | 1855 int /* request_id */) |
1868 | 1856 |
1869 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, | 1857 IPC_MESSAGE_CONTROL1(ViewHostMsg_RevealFolderInOS, |
1870 FilePath /* path */) | 1858 FilePath /* path */) |
1871 | 1859 |
1872 // Sent when the renderer has processed a DataDownloaded message. | 1860 // Sent when the renderer has processed a DataDownloaded message. |
1873 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataDownloaded_ACK, | 1861 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataDownloaded_ACK, |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2545 // while performing stress testing. | 2533 // while performing stress testing. |
2546 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2534 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2547 int /* cmd */, | 2535 int /* cmd */, |
2548 int /* param */) | 2536 int /* param */) |
2549 | 2537 |
2550 // Register a new handler for URL requests with the given scheme. | 2538 // Register a new handler for URL requests with the given scheme. |
2551 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2539 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2552 std::string /* scheme */, | 2540 std::string /* scheme */, |
2553 GURL /* url */, | 2541 GURL /* url */, |
2554 string16 /* title */) | 2542 string16 /* title */) |
OLD | NEW |