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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <map> | 6 #include <map> |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, | 772 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, |
773 std::vector<GURL> /* urls that have local copy */, | 773 std::vector<GURL> /* urls that have local copy */, |
774 std::vector<FilePath> /* paths of local copy */, | 774 std::vector<FilePath> /* paths of local copy */, |
775 FilePath /* local directory path */) | 775 FilePath /* local directory path */) |
776 | 776 |
777 // Requests application info for the page. The renderer responds back with | 777 // Requests application info for the page. The renderer responds back with |
778 // ViewHostMsg_DidGetApplicationInfo. | 778 // ViewHostMsg_DidGetApplicationInfo. |
779 IPC_MESSAGE_ROUTED1(ViewMsg_GetApplicationInfo, int32 /*page_id*/) | 779 IPC_MESSAGE_ROUTED1(ViewMsg_GetApplicationInfo, int32 /*page_id*/) |
780 | 780 |
781 // Requests the renderer to download the specified favicon image encode it as | 781 // Requests the renderer to download the specified favicon image encode it as |
782 // PNG and send the PNG data back ala ViewHostMsg_DidDownloadFavIcon. | 782 // PNG and send the PNG data back ala ViewHostMsg_DidDownloadFavicon. |
783 IPC_MESSAGE_ROUTED3(ViewMsg_DownloadFavIcon, | 783 IPC_MESSAGE_ROUTED3(ViewMsg_DownloadFavicon, |
784 int /* identifier for the request */, | 784 int /* identifier for the request */, |
785 GURL /* URL of the image */, | 785 GURL /* URL of the image */, |
786 int /* Size of the image. Normally 0, but set if you have | 786 int /* Size of the image. Normally 0, but set if you have |
787 a preferred image size to request, such as when | 787 a preferred image size to request, such as when |
788 downloading the favicon */) | 788 downloading the favicon */) |
789 | 789 |
790 // When a renderer sends a ViewHostMsg_Focus to the browser process, | 790 // When a renderer sends a ViewHostMsg_Focus to the browser process, |
791 // the browser has the option of sending a ViewMsg_CantFocus back to | 791 // the browser has the option of sending a ViewMsg_CantFocus back to |
792 // the renderer. | 792 // the renderer. |
793 IPC_MESSAGE_ROUTED0(ViewMsg_CantFocus) | 793 IPC_MESSAGE_ROUTED0(ViewMsg_CantFocus) |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, | 1542 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, |
1543 GURL /* url */, | 1543 GURL /* url */, |
1544 ThumbnailScore /* score */, | 1544 ThumbnailScore /* score */, |
1545 SkBitmap /* bitmap */) | 1545 SkBitmap /* bitmap */) |
1546 | 1546 |
1547 // Send a snapshot of the tab contents to the render host. | 1547 // Send a snapshot of the tab contents to the render host. |
1548 IPC_MESSAGE_ROUTED1(ViewHostMsg_Snapshot, | 1548 IPC_MESSAGE_ROUTED1(ViewHostMsg_Snapshot, |
1549 SkBitmap /* bitmap */) | 1549 SkBitmap /* bitmap */) |
1550 | 1550 |
1551 // Notification that the url for the favicon of a site has been determined. | 1551 // Notification that the url for the favicon of a site has been determined. |
1552 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFavIconURL, | 1552 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, |
1553 int32 /* page_id */, | 1553 int32 /* page_id */, |
1554 GURL /* url of the favicon */) | 1554 GURL /* url of the favicon */) |
1555 | 1555 |
1556 // Used to tell the parent that the user right clicked on an area of the | 1556 // Used to tell the parent that the user right clicked on an area of the |
1557 // content area, and a context menu should be shown for it. The params | 1557 // content area, and a context menu should be shown for it. The params |
1558 // object contains information about the node(s) that were selected when the | 1558 // object contains information about the node(s) that were selected when the |
1559 // user right clicked. | 1559 // user right clicked. |
1560 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ContextMenuParams) | 1560 IPC_MESSAGE_ROUTED1(ViewHostMsg_ContextMenu, ContextMenuParams) |
1561 | 1561 |
1562 // Requests that the given URL be opened in the specified manner. | 1562 // Requests that the given URL be opened in the specified manner. |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1861 // onbeforeunload handler): true if the user decided to proceed with leaving | 1861 // onbeforeunload handler): true if the user decided to proceed with leaving |
1862 // the page. | 1862 // the page. |
1863 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShouldClose_ACK, | 1863 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShouldClose_ACK, |
1864 bool /* proceed */) | 1864 bool /* proceed */) |
1865 | 1865 |
1866 // Indicates that the current page has been closed, after a ClosePage | 1866 // Indicates that the current page has been closed, after a ClosePage |
1867 // message. The parameters are just echoed from the ClosePage request. | 1867 // message. The parameters are just echoed from the ClosePage request. |
1868 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, | 1868 IPC_MESSAGE_ROUTED1(ViewHostMsg_ClosePage_ACK, |
1869 ViewMsg_ClosePage_Params) | 1869 ViewMsg_ClosePage_Params) |
1870 | 1870 |
1871 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavIcon, | 1871 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidDownloadFavicon, |
1872 int /* Identifier of the request */, | 1872 int /* Identifier of the request */, |
1873 GURL /* URL of the image */, | 1873 GURL /* URL of the image */, |
1874 bool /* true if there was a network error */, | 1874 bool /* true if there was a network error */, |
1875 SkBitmap /* image_data */) | 1875 SkBitmap /* image_data */) |
1876 | 1876 |
1877 // Sent when the renderer process is done processing a DataReceived | 1877 // Sent when the renderer process is done processing a DataReceived |
1878 // message. | 1878 // message. |
1879 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, | 1879 IPC_MESSAGE_ROUTED1(ViewHostMsg_DataReceived_ACK, |
1880 int /* request_id */) | 1880 int /* request_id */) |
1881 | 1881 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2352 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2352 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2353 int /* cmd */, | 2353 int /* cmd */, |
2354 int /* param */) | 2354 int /* param */) |
2355 | 2355 |
2356 // Register a new handler for URL requests with the given scheme. | 2356 // Register a new handler for URL requests with the given scheme. |
2357 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2357 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2358 std::string /* scheme */, | 2358 std::string /* scheme */, |
2359 GURL /* url */, | 2359 GURL /* url */, |
2360 string16 /* title */) | 2360 string16 /* title */) |
2361 | 2361 |
OLD | NEW |