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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1129 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
1130 int32 /* page_id */, | 1130 int32 /* page_id */, |
1131 content::PageState /* state */) | 1131 content::PageState /* state */) |
1132 | 1132 |
1133 // Notifies the browser that we want to show a destination url for a potential | 1133 // Notifies the browser that we want to show a destination url for a potential |
1134 // action (e.g. when the user is hovering over a link). | 1134 // action (e.g. when the user is hovering over a link). |
1135 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, | 1135 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, |
1136 int32, | 1136 int32, |
1137 GURL) | 1137 GURL) |
1138 | 1138 |
1139 // Sent when the renderer main frame has made progress loading. | |
1140 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, | |
1141 double /* load_progress */) | |
1142 | |
1143 // Sent when the document element is available for the top-level frame. This | 1139 // Sent when the document element is available for the top-level frame. This |
1144 // happens after the page starts loading, but before all resources are | 1140 // happens after the page starts loading, but before all resources are |
1145 // finished. | 1141 // finished. |
1146 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) | 1142 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) |
1147 | 1143 |
1148 // Sent when the renderer loads a resource from its memory cache. | 1144 // Sent when the renderer loads a resource from its memory cache. |
1149 // The security info is non empty if the resource was originally loaded over | 1145 // The security info is non empty if the resource was originally loaded over |
1150 // a secure connection. | 1146 // a secure connection. |
1151 // Note: May only be sent once per URL per frame per committed load. | 1147 // Note: May only be sent once per URL per frame per committed load. |
1152 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidLoadResourceFromMemoryCache, | 1148 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidLoadResourceFromMemoryCache, |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 // synchronously (see crbug.com/120597). This IPC message sends the character | 1760 // synchronously (see crbug.com/120597). This IPC message sends the character |
1765 // bounds after every composition change to always have correct bound info. | 1761 // bounds after every composition change to always have correct bound info. |
1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1762 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1767 gfx::Range /* composition range */, | 1763 gfx::Range /* composition range */, |
1768 std::vector<gfx::Rect> /* character bounds */) | 1764 std::vector<gfx::Rect> /* character bounds */) |
1769 #endif | 1765 #endif |
1770 | 1766 |
1771 // Adding a new message? Stick to the sort order above: first platform | 1767 // Adding a new message? Stick to the sort order above: first platform |
1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1768 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1769 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |