Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5084)

Unified Diff: chrome/common/worker_messages_internal.h

Issue 20413: old1 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/worker_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
+*/
« no previous file with comments | « chrome/common/worker_messages.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698