OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 // render_messages.h. | 675 // render_messages.h. |
676 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, | 676 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, |
677 ViewHostMsg_FrameNavigate_Params) | 677 ViewHostMsg_FrameNavigate_Params) |
678 | 678 |
679 // Notifies the browser that we have session history information. | 679 // Notifies the browser that we have session history information. |
680 // page_id: unique ID that allows us to distinguish between history entries. | 680 // page_id: unique ID that allows us to distinguish between history entries. |
681 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 681 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
682 int32 /* page_id */, | 682 int32 /* page_id */, |
683 std::string /* state */) | 683 std::string /* state */) |
684 | 684 |
| 685 // Notifies the browser that a document has been loaded in a frame. |
| 686 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentLoadedInFrame) |
| 687 |
685 // Changes the title for the page in the UI when the page is navigated or the | 688 // Changes the title for the page in the UI when the page is navigated or the |
686 // title changes. | 689 // title changes. |
687 // TODO(darin): use a UTF-8 string to reduce data size | 690 // TODO(darin): use a UTF-8 string to reduce data size |
688 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) | 691 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) |
689 | 692 |
690 // Change the encoding name of the page in UI when the page has detected | 693 // Change the encoding name of the page in UI when the page has detected |
691 // proper encoding name. | 694 // proper encoding name. |
692 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 695 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
693 std::wstring /* new encoding name */) | 696 std::wstring /* new encoding name */) |
694 | 697 |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1422 // ExtensionUnpacker for details. | 1425 // ExtensionUnpacker for details. |
1423 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, | 1426 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, |
1424 DictionaryValue /* manifest */) | 1427 DictionaryValue /* manifest */) |
1425 | 1428 |
1426 // Reply when the utility process has failed while unpacking an extension. | 1429 // Reply when the utility process has failed while unpacking an extension. |
1427 // |error_message| is a user-displayable explanation of what went wrong. | 1430 // |error_message| is a user-displayable explanation of what went wrong. |
1428 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, | 1431 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
1429 std::string /* error_message, if any */) | 1432 std::string /* error_message, if any */) |
1430 | 1433 |
1431 IPC_END_MESSAGES(ViewHost) | 1434 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |