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

Unified Diff: webkit/glue/webworkerclient_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/glue/webworker_impl.cc ('k') | webkit/glue/webworkerclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webworkerclient_impl.h
===================================================================
--- webkit/glue/webworkerclient_impl.h (revision 23787)
+++ webkit/glue/webworkerclient_impl.h (working copy)
@@ -14,7 +14,6 @@
#include <wtf/RefPtr.h>
namespace WebCore {
-class MessagePortChannel;
class ScriptExecutionContext;
}
namespace WebKit {
@@ -42,7 +41,7 @@
virtual void terminateWorkerContext();
virtual void postMessageToWorkerContext(
const WebCore::String& message,
- WTF::PassOwnPtr<WebCore::MessagePortChannel> channel);
+ WTF::PassOwnPtr<WebCore::MessagePortChannelArray> channels);
virtual bool hasPendingActivity() const;
virtual void workerObjectDestroyed();
@@ -50,7 +49,7 @@
// These are called on the main WebKit thread.
virtual void postMessageToWorkerObject(
const WebKit::WebString& message,
- WebKit::WebMessagePortChannel* channel);
+ const WebKit::WebMessagePortChannelArray& channels);
virtual void postExceptionToWorkerObject(
const WebKit::WebString& error_message,
int line_number,
@@ -89,7 +88,7 @@
WebCore::ScriptExecutionContext* context,
WebWorkerClientImpl* this_ptr,
const WebCore::String& message,
- WTF::PassOwnPtr<WebCore::MessagePortChannel> channel);
+ WTF::PassOwnPtr<WebCore::MessagePortChannelArray> channels);
static void WorkerObjectDestroyedTask(
WebCore::ScriptExecutionContext* context,
WebWorkerClientImpl* this_ptr);
@@ -101,7 +100,7 @@
WebCore::ScriptExecutionContext* context,
WebWorkerClientImpl* this_ptr,
const WebCore::String& message,
- WTF::PassOwnPtr<WebCore::MessagePortChannel> channel);
+ WTF::PassOwnPtr<WebCore::MessagePortChannelArray> channels);
static void PostExceptionToWorkerObjectTask(
WebCore::ScriptExecutionContext* context,
WebWorkerClientImpl* this_ptr,
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/glue/webworkerclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698