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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, | 708 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWorker, |
709 ViewHostMsg_CreateWorker_Params, | 709 ViewHostMsg_CreateWorker_Params, |
710 ViewHostMsg_CreateWorker_Reply) | 710 ViewHostMsg_CreateWorker_Reply) |
711 | 711 |
712 // A renderer sends this to the browser process when a document has been | 712 // A renderer sends this to the browser process when a document has been |
713 // detached. The browser will use this to constrain the lifecycle of worker | 713 // detached. The browser will use this to constrain the lifecycle of worker |
714 // processes (SharedWorkers are shut down when their last associated document | 714 // processes (SharedWorkers are shut down when their last associated document |
715 // is detached). | 715 // is detached). |
716 IPC_MESSAGE_CONTROL1(ViewHostMsg_DocumentDetached, uint64_t /* document_id */) | 716 IPC_MESSAGE_CONTROL1(ViewHostMsg_DocumentDetached, uint64_t /* document_id */) |
717 | 717 |
718 // Wraps an IPC message that's destined to the worker on the renderer->browser | 718 // A renderer sends this to the browser process when it wants to connect to a |
719 // hop. | 719 // worker. |
720 IPC_MESSAGE_CONTROL1(ViewHostMsg_ForwardToWorker, | 720 IPC_MESSAGE_CONTROL2(ViewHostMsg_ConnectToWorker, |
721 IPC::Message /* message */) | 721 int /* route_id */, |
| 722 int /* sent_message_port_id */) |
722 | 723 |
723 // Tells the browser that a specific Appcache manifest in the current page | 724 // Tells the browser that a specific Appcache manifest in the current page |
724 // was accessed. | 725 // was accessed. |
725 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, | 726 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
726 GURL /* manifest url */, | 727 GURL /* manifest url */, |
727 bool /* blocked by policy */) | 728 bool /* blocked by policy */) |
728 | 729 |
729 // Used to go to the session history entry at the given offset (ie, -1 will | 730 // Used to go to the session history entry at the given offset (ie, -1 will |
730 // return the "back" item). | 731 // return the "back" item). |
731 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 732 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 int /* y */) | 915 int /* y */) |
915 | 916 |
916 #elif defined(OS_MACOSX) | 917 #elif defined(OS_MACOSX) |
917 // Receives content of a web page as plain text. | 918 // Receives content of a web page as plain text. |
918 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 919 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
919 #endif | 920 #endif |
920 | 921 |
921 // Adding a new message? Stick to the sort order above: first platform | 922 // Adding a new message? Stick to the sort order above: first platform |
922 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 923 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
923 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 924 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |