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 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1143 // proper encoding name. | 1143 // proper encoding name. |
1144 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 1144 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
1145 std::string /* new encoding name */) | 1145 std::string /* new encoding name */) |
1146 | 1146 |
1147 // Notifies the browser that we want to show a destination url for a potential | 1147 // Notifies the browser that we want to show a destination url for a potential |
1148 // action (e.g. when the user is hovering over a link). | 1148 // action (e.g. when the user is hovering over a link). |
1149 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, | 1149 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, |
1150 int32, | 1150 int32, |
1151 GURL) | 1151 GURL) |
1152 | 1152 |
1153 // Sent when the renderer main frame has made progress loading. | |
1154 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeLoadProgress, | |
1155 double /* load_progress */) | |
1156 | |
1157 // Sent when the document element is available for the top-level frame. This | 1153 // Sent when the document element is available for the top-level frame. This |
1158 // happens after the page starts loading, but before all resources are | 1154 // happens after the page starts loading, but before all resources are |
1159 // finished. | 1155 // finished. |
1160 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) | 1156 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentAvailableInMainFrame) |
1161 | 1157 |
1162 // Sent when after the onload handler has been invoked for the document | 1158 // Sent when after the onload handler has been invoked for the document |
1163 // in the top-level frame. | 1159 // in the top-level frame. |
1164 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentOnLoadCompletedInMainFrame, | 1160 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentOnLoadCompletedInMainFrame, |
1165 int32 /* page_id */) | 1161 int32 /* page_id */) |
1166 | 1162 |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1792 // synchronously (see crbug.com/120597). This IPC message sends the character | 1788 // synchronously (see crbug.com/120597). This IPC message sends the character |
1793 // bounds after every composition change to always have correct bound info. | 1789 // bounds after every composition change to always have correct bound info. |
1794 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1790 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1795 gfx::Range /* composition range */, | 1791 gfx::Range /* composition range */, |
1796 std::vector<gfx::Rect> /* character bounds */) | 1792 std::vector<gfx::Rect> /* character bounds */) |
1797 #endif | 1793 #endif |
1798 | 1794 |
1799 // Adding a new message? Stick to the sort order above: first platform | 1795 // Adding a new message? Stick to the sort order above: first platform |
1800 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1796 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1801 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1797 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |