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