| 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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 | 651 |
| 652 // Indicates that the render view has been closed in respose to a | 652 // Indicates that the render view has been closed in respose to a |
| 653 // Close message. | 653 // Close message. |
| 654 IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK, | 654 IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK, |
| 655 int /* old_route_id */) | 655 int /* old_route_id */) |
| 656 | 656 |
| 657 // Indicates that the current page has been closed, after a ClosePage | 657 // Indicates that the current page has been closed, after a ClosePage |
| 658 // message. | 658 // message. |
| 659 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) | 659 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) |
| 660 | 660 |
| 661 // Notifies the browser that we have session history information. | |
| 662 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateState, | |
| 663 content::PageState /* state */) | |
| 664 | |
| 665 // Notifies the browser that we want to show a destination url for a potential | 661 // Notifies the browser that we want to show a destination url for a potential |
| 666 // action (e.g. when the user is hovering over a link). | 662 // action (e.g. when the user is hovering over a link). |
| 667 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateTargetURL, | 663 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateTargetURL, |
| 668 GURL) | 664 GURL) |
| 669 | 665 |
| 670 // Sent when the document element is available for the top-level frame. This | 666 // Sent when the document element is available for the top-level frame. This |
| 671 // happens after the page starts loading, but before all resources are | 667 // happens after the page starts loading, but before all resources are |
| 672 // finished. | 668 // finished. |
| 673 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentAvailableInMainFrame, | 669 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentAvailableInMainFrame, |
| 674 bool /* uses_temporary_zoom_level */) | 670 bool /* uses_temporary_zoom_level */) |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 int /* y */) | 888 int /* y */) |
| 893 | 889 |
| 894 #elif defined(OS_MACOSX) | 890 #elif defined(OS_MACOSX) |
| 895 // Receives content of a web page as plain text. | 891 // Receives content of a web page as plain text. |
| 896 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 892 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 897 #endif | 893 #endif |
| 898 | 894 |
| 899 // Adding a new message? Stick to the sort order above: first platform | 895 // Adding a new message? Stick to the sort order above: first platform |
| 900 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 896 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 901 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 897 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |