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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 // proper encoding name. | 1135 // proper encoding name. |
1136 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 1136 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
1137 std::string /* new encoding name */) | 1137 std::string /* new encoding name */) |
1138 | 1138 |
1139 // Notifies the browser that we want to show a destination url for a potential | 1139 // Notifies the browser that we want to show a destination url for a potential |
1140 // action (e.g. when the user is hovering over a link). | 1140 // action (e.g. when the user is hovering over a link). |
1141 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, | 1141 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, |
1142 int32, | 1142 int32, |
1143 GURL) | 1143 GURL) |
1144 | 1144 |
1145 // Sent when the renderer main frame has made progress loading. | |
1146 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, | |
1147 double /* load_progress */) | |
1148 | |
1149 // Sent when the document element is available for the top-level frame. This | 1145 // Sent when the document element is available for the top-level frame. This |
1150 // happens after the page starts loading, but before all resources are | 1146 // happens after the page starts loading, but before all resources are |
1151 // finished. | 1147 // finished. |
1152 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) | 1148 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) |
1153 | 1149 |
1154 // Sent when the renderer loads a resource from its memory cache. | 1150 // Sent when the renderer loads a resource from its memory cache. |
1155 // The security info is non empty if the resource was originally loaded over | 1151 // The security info is non empty if the resource was originally loaded over |
1156 // a secure connection. | 1152 // a secure connection. |
1157 // Note: May only be sent once per URL per frame per committed load. | 1153 // Note: May only be sent once per URL per frame per committed load. |
1158 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidLoadResourceFromMemoryCache, | 1154 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidLoadResourceFromMemoryCache, |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 // synchronously (see crbug.com/120597). This IPC message sends the character | 1775 // synchronously (see crbug.com/120597). This IPC message sends the character |
1780 // bounds after every composition change to always have correct bound info. | 1776 // bounds after every composition change to always have correct bound info. |
1781 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1777 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1782 gfx::Range /* composition range */, | 1778 gfx::Range /* composition range */, |
1783 std::vector<gfx::Rect> /* character bounds */) | 1779 std::vector<gfx::Rect> /* character bounds */) |
1784 #endif | 1780 #endif |
1785 | 1781 |
1786 // Adding a new message? Stick to the sort order above: first platform | 1782 // Adding a new message? Stick to the sort order above: first platform |
1787 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1783 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1788 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1784 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |