| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 | 660 |
| 661 // Change the encoding name of the page in UI when the page has detected | 661 // Change the encoding name of the page in UI when the page has detected |
| 662 // proper encoding name. | 662 // proper encoding name. |
| 663 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 663 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
| 664 std::wstring /* new encoding name */) | 664 std::wstring /* new encoding name */) |
| 665 | 665 |
| 666 // Notifies the browser that we want to show a destination url for a potential | 666 // Notifies the browser that we want to show a destination url for a potential |
| 667 // action (e.g. when the user is hovering over a link). | 667 // action (e.g. when the user is hovering over a link). |
| 668 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) | 668 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) |
| 669 | 669 |
| 670 // Sent when the renderer is loading a frame | 670 // Sent when the renderer starts loading the page. This corresponds to |
| 671 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidStartLoading, int32) | 671 // WebKit's notion of the throbber starting. Note that sometimes you may get |
| 672 // duplicates of these during a single load. |
| 673 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStartLoading) |
| 672 | 674 |
| 673 // Sent when the renderer is done loading a frame | 675 // Sent when the renderer is done loading a page. This corresponds to WebKit's |
| 674 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidStopLoading, int32) | 676 // noption of the throbber stopping. |
| 677 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopLoading) |
| 675 | 678 |
| 676 // Sent when the renderer loads a resource from its memory cache. | 679 // Sent when the renderer loads a resource from its memory cache. |
| 677 // The security info is non empty if the resource was originally loaded over | 680 // The security info is non empty if the resource was originally loaded over |
| 678 // a secure connection. | 681 // a secure connection. |
| 679 // Note: May only be sent once per URL per frame per committed load. | 682 // Note: May only be sent once per URL per frame per committed load. |
| 680 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidLoadResourceFromMemoryCache, | 683 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidLoadResourceFromMemoryCache, |
| 681 GURL /* url */, | 684 GURL /* url */, |
| 682 std::string /* frame_origin */, | 685 std::string /* frame_origin */, |
| 683 std::string /* main_frame_origin */, | 686 std::string /* main_frame_origin */, |
| 684 std::string /* security info */) | 687 std::string /* security info */) |
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 // by ViewHostMsg_OpenChannelToExtension. | 1339 // by ViewHostMsg_OpenChannelToExtension. |
| 1337 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, | 1340 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, |
| 1338 int /* port_id */, | 1341 int /* port_id */, |
| 1339 std::string /* message */) | 1342 std::string /* message */) |
| 1340 | 1343 |
| 1341 // Message to show a popup menu using native cocoa controls (Mac only). | 1344 // Message to show a popup menu using native cocoa controls (Mac only). |
| 1342 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, | 1345 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, |
| 1343 ViewHostMsg_ShowPopup_Params) | 1346 ViewHostMsg_ShowPopup_Params) |
| 1344 | 1347 |
| 1345 IPC_END_MESSAGES(ViewHost) | 1348 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |