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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 // render_messages.h. | 680 // render_messages.h. |
681 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, | 681 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameNavigate, |
682 ViewHostMsg_FrameNavigate_Params) | 682 ViewHostMsg_FrameNavigate_Params) |
683 | 683 |
684 // Notifies the browser that we have session history information. | 684 // Notifies the browser that we have session history information. |
685 // page_id: unique ID that allows us to distinguish between history entries. | 685 // page_id: unique ID that allows us to distinguish between history entries. |
686 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, | 686 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, |
687 int32 /* page_id */, | 687 int32 /* page_id */, |
688 std::string /* state */) | 688 std::string /* state */) |
689 | 689 |
| 690 // Notifies the browser that a document has been loaded in a frame. |
| 691 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentLoadedInFrame) |
| 692 |
690 // Changes the title for the page in the UI when the page is navigated or the | 693 // Changes the title for the page in the UI when the page is navigated or the |
691 // title changes. | 694 // title changes. |
692 // TODO(darin): use a UTF-8 string to reduce data size | 695 // TODO(darin): use a UTF-8 string to reduce data size |
693 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) | 696 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) |
694 | 697 |
695 // Change the encoding name of the page in UI when the page has detected | 698 // Change the encoding name of the page in UI when the page has detected |
696 // proper encoding name. | 699 // proper encoding name. |
697 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 700 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
698 std::wstring /* new encoding name */) | 701 std::wstring /* new encoding name */) |
699 | 702 |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 // ExtensionUnpacker for details. | 1431 // ExtensionUnpacker for details. |
1429 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, | 1432 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, |
1430 DictionaryValue /* manifest */) | 1433 DictionaryValue /* manifest */) |
1431 | 1434 |
1432 // Reply when the utility process has failed while unpacking an extension. | 1435 // Reply when the utility process has failed while unpacking an extension. |
1433 // |error_message| is a user-displayable explanation of what went wrong. | 1436 // |error_message| is a user-displayable explanation of what went wrong. |
1434 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, | 1437 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
1435 std::string /* error_message, if any */) | 1438 std::string /* error_message, if any */) |
1436 | 1439 |
1437 IPC_END_MESSAGES(ViewHost) | 1440 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |