OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 // Notifies the browser that we have session history information. | 1210 // Notifies the browser that we have session history information. |
1211 // page_id: unique ID that allows us to distinguish between history entries. | 1211 // page_id: unique ID that allows us to distinguish between history entries. |
1212 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 1212 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
1213 int32 /* page_id */, | 1213 int32 /* page_id */, |
1214 std::string /* state */) | 1214 std::string /* state */) |
1215 | 1215 |
1216 // Notifies the browser that a document has been loaded in a frame. | 1216 // Notifies the browser that a document has been loaded in a frame. |
1217 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, | 1217 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, |
1218 long long /* frame_id */) | 1218 long long /* frame_id */) |
1219 | 1219 |
| 1220 // Notifies the browser that a frame finished loading. |
| 1221 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad, |
| 1222 long long /* frame_id */) |
| 1223 |
1220 // Changes the title for the page in the UI when the page is navigated or the | 1224 // Changes the title for the page in the UI when the page is navigated or the |
1221 // title changes. | 1225 // title changes. |
1222 // TODO(darin): use a UTF-8 string to reduce data size | 1226 // TODO(darin): use a UTF-8 string to reduce data size |
1223 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) | 1227 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) |
1224 | 1228 |
1225 // Changes the icon url for the page in the UI. | 1229 // Changes the icon url for the page in the UI. |
1226 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, int32, GURL) | 1230 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, int32, GURL) |
1227 | 1231 |
1228 // Change the encoding name of the page in UI when the page has detected | 1232 // Change the encoding name of the page in UI when the page has detected |
1229 // proper encoding name. | 1233 // proper encoding name. |
(...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3058 base::PlatformFileInfo, /* info */ | 3062 base::PlatformFileInfo, /* info */ |
3059 base::PlatformFileError /* error_code */) | 3063 base::PlatformFileError /* error_code */) |
3060 | 3064 |
3061 // Get the directory's contents. | 3065 // Get the directory's contents. |
3062 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3066 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3063 FilePath /* path */, | 3067 FilePath /* path */, |
3064 PepperDirContents, /* contents */ | 3068 PepperDirContents, /* contents */ |
3065 base::PlatformFileError /* error_code */) | 3069 base::PlatformFileError /* error_code */) |
3066 | 3070 |
3067 IPC_END_MESSAGES(ViewHost) | 3071 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |