OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/common/ipc_message_macros.h" |
| 6 |
| 7 |
| 8 //----------------------------------------------------------------------------- |
| 9 // WorkerProcess messages |
| 10 // These are messages sent from the browser to the worker process. |
| 11 IPC_BEGIN_MESSAGES(WorkerProcess) |
| 12 IPC_MESSAGE_CONTROL2(WorkerProcessMsg_CreateWorker, |
| 13 GURL /* url */, |
| 14 int /* route_id */) |
| 15 |
| 16 // Wraps an IPC message that's destined to the worker on the browser->worker h
op. |
| 17 // WOULD ONLY BE NEEDED IF WE SEND SYNC MSGS |
| 18 //IPC_MESSAGE_CONTROL1(WorkerProcessMsg_ForwardToWorker, |
| 19 // IPC::Message /* message */) |
| 20 IPC_END_MESSAGES(WorkerProcess) |
| 21 |
| 22 /* |
| 23 //----------------------------------------------------------------------------- |
| 24 // WorkerProcessHost messages |
| 25 // These are messages sent from the worker process to the browser process. |
| 26 IPC_BEGIN_MESSAGES(WorkerProcessHost) |
| 27 |
| 28 IPC_END_MESSAGES(WorkerProcessHost) |
| 29 */ |
| 30 |
| 31 //----------------------------------------------------------------------------- |
| 32 // Worker messages |
| 33 // These are messages sent from the renderer process to the worker process. |
| 34 IPC_BEGIN_MESSAGES(Worker) |
| 35 IPC_MESSAGE_ROUTED2(WorkerMsg_StartContext, |
| 36 std::string /* user_agent */, |
| 37 std::string /* source_code */) |
| 38 IPC_END_MESSAGES(Worker) |
| 39 |
| 40 /* |
| 41 //----------------------------------------------------------------------------- |
| 42 // WorkerHost messages |
| 43 // These are messages sent from the worker process to the renderer process. |
| 44 IPC_BEGIN_MESSAGES(WorkerHost) |
| 45 //IPC_SYNC_MESSAGE_ROUTED0_0(WorkerHostMsg_SetWindow) |
| 46 IPC_END_MESSAGES(WorkerHost) |
| 47 */ |
OLD | NEW |