| Index: chrome/common/worker_messages_internal.h
|
| ===================================================================
|
| --- chrome/common/worker_messages_internal.h (revision 0)
|
| +++ chrome/common/worker_messages_internal.h (revision 0)
|
| @@ -0,0 +1,47 @@
|
| +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/common/ipc_message_macros.h"
|
| +
|
| +
|
| +//-----------------------------------------------------------------------------
|
| +// WorkerProcess messages
|
| +// These are messages sent from the browser to the worker process.
|
| +IPC_BEGIN_MESSAGES(WorkerProcess)
|
| + IPC_MESSAGE_CONTROL2(WorkerProcessMsg_CreateWorker,
|
| + GURL /* url */,
|
| + int /* route_id */)
|
| +
|
| + // Wraps an IPC message that's destined to the worker on the browser->worker hop.
|
| + // WOULD ONLY BE NEEDED IF WE SEND SYNC MSGS
|
| + //IPC_MESSAGE_CONTROL1(WorkerProcessMsg_ForwardToWorker,
|
| + // IPC::Message /* message */)
|
| +IPC_END_MESSAGES(WorkerProcess)
|
| +
|
| +/*
|
| +//-----------------------------------------------------------------------------
|
| +// WorkerProcessHost messages
|
| +// These are messages sent from the worker process to the browser process.
|
| +IPC_BEGIN_MESSAGES(WorkerProcessHost)
|
| +
|
| +IPC_END_MESSAGES(WorkerProcessHost)
|
| +*/
|
| +
|
| +//-----------------------------------------------------------------------------
|
| +// Worker messages
|
| +// These are messages sent from the renderer process to the worker process.
|
| +IPC_BEGIN_MESSAGES(Worker)
|
| + IPC_MESSAGE_ROUTED2(WorkerMsg_StartContext,
|
| + std::string /* user_agent */,
|
| + std::string /* source_code */)
|
| +IPC_END_MESSAGES(Worker)
|
| +
|
| +/*
|
| +//-----------------------------------------------------------------------------
|
| +// WorkerHost messages
|
| +// These are messages sent from the worker process to the renderer process.
|
| +IPC_BEGIN_MESSAGES(WorkerHost)
|
| + //IPC_SYNC_MESSAGE_ROUTED0_0(WorkerHostMsg_SetWindow)
|
| +IPC_END_MESSAGES(WorkerHost)
|
| +*/
|
|
|