OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 // Indicates that the render view has been closed in respose to a | 729 // Indicates that the render view has been closed in respose to a |
730 // Close message. | 730 // Close message. |
731 IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK, | 731 IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK, |
732 int /* old_route_id */) | 732 int /* old_route_id */) |
733 | 733 |
734 // Indicates that the current page has been closed, after a ClosePage | 734 // Indicates that the current page has been closed, after a ClosePage |
735 // message. | 735 // message. |
736 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) | 736 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) |
737 | 737 |
738 // Notifies the browser that we have session history information. | 738 // Notifies the browser that we have session history information. |
739 // page_id: unique ID that allows us to distinguish between history entries. | 739 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateState, |
740 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | |
741 int32_t /* page_id */, | |
742 content::PageState /* state */) | 740 content::PageState /* state */) |
743 | 741 |
744 // Notifies the browser that we want to show a destination url for a potential | 742 // Notifies the browser that we want to show a destination url for a potential |
745 // action (e.g. when the user is hovering over a link). | 743 // action (e.g. when the user is hovering over a link). |
746 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateTargetURL, | 744 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateTargetURL, |
747 GURL) | 745 GURL) |
748 | 746 |
749 // Sent when the document element is available for the top-level frame. This | 747 // Sent when the document element is available for the top-level frame. This |
750 // happens after the page starts loading, but before all resources are | 748 // happens after the page starts loading, but before all resources are |
751 // finished. | 749 // finished. |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 int /* y */) | 996 int /* y */) |
999 | 997 |
1000 #elif defined(OS_MACOSX) | 998 #elif defined(OS_MACOSX) |
1001 // Receives content of a web page as plain text. | 999 // Receives content of a web page as plain text. |
1002 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1000 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1003 #endif | 1001 #endif |
1004 | 1002 |
1005 // Adding a new message? Stick to the sort order above: first platform | 1003 // Adding a new message? Stick to the sort order above: first platform |
1006 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1004 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1007 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1005 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |