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

Side by Side Diff: content/renderer/webworker_proxy.cc

Issue 6705012: Move the rest of the content browser->renderer messages to content. Also move drag related messa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/webworker_base.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/webworker_proxy.h" 5 #include "content/renderer/webworker_proxy.h"
6 6
7 #include "chrome/common/render_messages.h"
8 #include "content/common/child_thread.h" 7 #include "content/common/child_thread.h"
8 #include "content/common/view_messages.h"
9 #include "content/common/webmessageportchannel_impl.h" 9 #include "content/common/webmessageportchannel_impl.h"
10 #include "content/common/worker_messages.h" 10 #include "content/common/worker_messages.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWorkerClient.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWorkerClient.h"
13 13
14 using WebKit::WebCommonWorkerClient; 14 using WebKit::WebCommonWorkerClient;
15 using WebKit::WebMessagePortChannel; 15 using WebKit::WebMessagePortChannel;
16 using WebKit::WebMessagePortChannelArray; 16 using WebKit::WebMessagePortChannelArray;
17 using WebKit::WebString; 17 using WebKit::WebString;
18 using WebKit::WebURL; 18 using WebKit::WebURL;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 client_->postMessageToWorkerObject(message, channels); 131 client_->postMessageToWorkerObject(message, channels);
132 } 132 }
133 133
134 void WebWorkerProxy::OnPostConsoleMessageToWorkerObject( 134 void WebWorkerProxy::OnPostConsoleMessageToWorkerObject(
135 const WorkerHostMsg_PostConsoleMessageToWorkerObject_Params& params) { 135 const WorkerHostMsg_PostConsoleMessageToWorkerObject_Params& params) {
136 client_->postConsoleMessageToWorkerObject(params.source_identifier, 136 client_->postConsoleMessageToWorkerObject(params.source_identifier,
137 params.message_type, params.message_level, 137 params.message_type, params.message_level,
138 params.message, params.line_number, params.source_url); 138 params.message, params.line_number, params.source_url);
139 } 139 }
140 140
OLDNEW
« no previous file with comments | « content/renderer/webworker_base.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698