OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 std::wstring /* in - default prompt */, | 729 std::wstring /* in - default prompt */, |
730 int /* in - dialog flags */, | 730 int /* in - dialog flags */, |
731 bool /* out - success */, | 731 bool /* out - success */, |
732 std::wstring /* out - prompt field */) | 732 std::wstring /* out - prompt field */) |
733 | 733 |
734 // Sets the contents for the given page (URL and page ID are the first two | 734 // Sets the contents for the given page (URL and page ID are the first two |
735 // arguments) given the contents that is the 3rd. | 735 // arguments) given the contents that is the 3rd. |
736 IPC_MESSAGE_CONTROL3(ViewHostMsg_PageContents, GURL, int32, std::wstring) | 736 IPC_MESSAGE_CONTROL3(ViewHostMsg_PageContents, GURL, int32, std::wstring) |
737 | 737 |
738 // Specifies the URL as the first parameter (a wstring) and thumbnail as | 738 // Specifies the URL as the first parameter (a wstring) and thumbnail as |
739 // binary data as the second parameter. Our macros don't handle binary data, | 739 // binary data as the second parameter. |
740 // so this is declared "empty," to be encoded by the caller/receiver. | 740 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, |
741 IPC_MESSAGE_EMPTY(ViewHostMsg_Thumbnail) | 741 GURL /* url */, |
| 742 ThumbnailScore /* score */, |
| 743 SkBitmap /* bitmap */) |
742 | 744 |
743 // Notification that the url for the favicon of a site has been determined. | 745 // Notification that the url for the favicon of a site has been determined. |
744 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFavIconURL, | 746 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFavIconURL, |
745 int32 /* page_id */, | 747 int32 /* page_id */, |
746 GURL /* url of the favicon */) | 748 GURL /* url of the favicon */) |
747 | 749 |
748 // Used to tell the parent that the user right clicked on an area of the | 750 // Used to tell the parent that the user right clicked on an area of the |
749 // content area, and a context menu should be shown for it. The params | 751 // content area, and a context menu should be shown for it. The params |
750 // object contains information about the node(s) that were selected when the | 752 // object contains information about the node(s) that were selected when the |
751 // user right clicked. | 753 // user right clicked. |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 | 1102 |
1101 // Get the list of proxies to use for |url|, as a semicolon delimited list | 1103 // Get the list of proxies to use for |url|, as a semicolon delimited list |
1102 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also | 1104 // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also |
1103 // PluginProcessHostMsg_ResolveProxy which does the same thing. | 1105 // PluginProcessHostMsg_ResolveProxy which does the same thing. |
1104 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, | 1106 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, |
1105 GURL /* url */, | 1107 GURL /* url */, |
1106 int /* network error */, | 1108 int /* network error */, |
1107 std::string /* proxy list */) | 1109 std::string /* proxy list */) |
1108 | 1110 |
1109 IPC_END_MESSAGES(ViewHost) | 1111 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |