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 // Defines messages between the browser and worker process, as well as between | 5 // Defines messages between the browser and worker process, as well as between |
6 // the renderer and worker process. | 6 // the renderer and worker process. |
7 | 7 |
8 // Multiply-included message file, hence no include guard. | 8 // Multiply-included message file, hence no include guard. |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 int /* sent_message_port_id */, | 96 int /* sent_message_port_id */, |
97 int /* routing_id */) | 97 int /* routing_id */) |
98 | 98 |
99 IPC_MESSAGE_ROUTED0(WorkerMsg_WorkerObjectDestroyed) | 99 IPC_MESSAGE_ROUTED0(WorkerMsg_WorkerObjectDestroyed) |
100 | 100 |
101 | 101 |
102 //----------------------------------------------------------------------------- | 102 //----------------------------------------------------------------------------- |
103 // WorkerHost messages | 103 // WorkerHost messages |
104 // These are messages sent from the worker process to the renderer process. | 104 // These are messages sent from the worker process to the renderer process. |
105 // WorkerMsg_PostMessage is also sent here. | 105 // WorkerMsg_PostMessage is also sent here. |
106 IPC_MESSAGE_ROUTED3(WorkerHostMsg_PostExceptionToWorkerObject, | |
107 string16 /* error_message */, | |
108 int /* line_number */, | |
109 string16 /* source_url*/) | |
110 | |
111 IPC_MESSAGE_ROUTED1(WorkerHostMsg_PostConsoleMessageToWorkerObject, | |
112 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params) | |
113 | |
114 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, | |
115 bool /* bool has_pending_activity */) | |
116 | |
117 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, | |
118 bool /* bool has_pending_activity */) | |
119 | |
120 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, | 106 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, |
121 int /* worker_route_id */) | 107 int /* worker_route_id */) |
122 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) | 108 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) |
OLD | NEW |