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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // Message to show a full screen widget. | 714 // Message to show a full screen widget. |
715 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, | 715 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowFullscreenWidget, |
716 int /* route_id */) | 716 int /* route_id */) |
717 | 717 |
718 // Sent by the renderer process to request that the browser close the view. | 718 // Sent by the renderer process to request that the browser close the view. |
719 // This corresponds to the window.close() API, and the browser may ignore | 719 // This corresponds to the window.close() API, and the browser may ignore |
720 // this message. Otherwise, the browser will generates a ViewMsg_Close | 720 // this message. Otherwise, the browser will generates a ViewMsg_Close |
721 // message to close the view. | 721 // message to close the view. |
722 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) | 722 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) |
723 | 723 |
| 724 // Sent by the renderer process to notify that the resource prefetcher has |
| 725 // discovered all possible subresources and issued requests for them. |
| 726 IPC_MESSAGE_CONTROL0(ViewHostMsg_PrefetchFinished) |
| 727 |
724 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can | 728 // Send in response to a ViewMsg_UpdateScreenRects so that the renderer can |
725 // throttle these messages. | 729 // throttle these messages. |
726 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) | 730 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) |
727 | 731 |
728 // Sent by the renderer process to request that the browser move the view. | 732 // Sent by the renderer process to request that the browser move the view. |
729 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and | 733 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and |
730 // the browser may ignore this message. | 734 // the browser may ignore this message. |
731 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, | 735 IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, |
732 gfx::Rect /* position */) | 736 gfx::Rect /* position */) |
733 | 737 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1003 int /* y */) | 1007 int /* y */) |
1004 | 1008 |
1005 #elif defined(OS_MACOSX) | 1009 #elif defined(OS_MACOSX) |
1006 // Receives content of a web page as plain text. | 1010 // Receives content of a web page as plain text. |
1007 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1011 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1008 #endif | 1012 #endif |
1009 | 1013 |
1010 // Adding a new message? Stick to the sort order above: first platform | 1014 // Adding a new message? Stick to the sort order above: first platform |
1011 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1015 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1012 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1016 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |