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

Unified Diff: webkit/glue/webworker_impl.h

Issue 173193: Updating Worker.postMessage(), DOMWindow.postMessage(), and... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/api/src/PlatformMessagePortChannel.cpp ('k') | webkit/glue/webworker_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webworker_impl.h
===================================================================
--- webkit/glue/webworker_impl.h (revision 23787)
+++ webkit/glue/webworker_impl.h (working copy)
@@ -16,8 +16,6 @@
#include <wtf/RefPtr.h>
namespace WebCore {
-class Strng;
-class MessagePortChannel;
class WorkerThread;
};
@@ -37,7 +35,7 @@
// WebCore::WorkerObjectProxy methods:
virtual void postMessageToWorkerObject(
const WebCore::String& message,
- WTF::PassOwnPtr<WebCore::MessagePortChannel> channel);
+ WTF::PassOwnPtr<WebCore::MessagePortChannelArray> channels);
virtual void postExceptionToWorkerObject(
const WebCore::String& error_message,
int line_number,
@@ -68,7 +66,7 @@
virtual void terminateWorkerContext();
virtual void postMessageToWorkerContext(
const WebKit::WebString& message,
- WebKit::WebMessagePortChannel* channel);
+ const WebKit::WebMessagePortChannelArray& channel);
virtual void workerObjectDestroyed();
WebKit::WebWorkerClient* client() { return client_; }
@@ -85,7 +83,7 @@
WebCore::ScriptExecutionContext* context,
WebWorkerImpl* this_ptr,
const WebCore::String& message,
- WTF::PassOwnPtr<WebCore::MessagePortChannel> channel);
+ WTF::PassOwnPtr<WebCore::MessagePortChannelArray> channels);
// Function used to invoke tasks on the main thread.
static void InvokeTaskMethod(void* param);
@@ -95,7 +93,7 @@
WebCore::ScriptExecutionContext* context,
WebWorkerImpl* this_ptr,
WebCore::String message,
- WTF::PassOwnPtr<WebCore::MessagePortChannel> channel);
+ WTF::PassOwnPtr<WebCore::MessagePortChannelArray> channels);
static void PostExceptionTask(
WebCore::ScriptExecutionContext* context,
WebWorkerImpl* this_ptr,
« no previous file with comments | « webkit/api/src/PlatformMessagePortChannel.cpp ('k') | webkit/glue/webworker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698